summary refs log tree commit diff
path: root/mixins
diff options
context:
space:
mode:
authortzlil <tzlils@protonmail.com>2023-09-09 01:47:07 +0300
committertzlil <tzlils@protonmail.com>2023-09-09 01:48:16 +0300
commitb8d9878cea5a65e2e6ab4b98aace676f34038824 (patch)
tree97b54439395f9c9eea0f9940ba6285ca836252e5 /mixins
parent387836d53360039514bfa11014e48687dd82ed2d (diff)
add arxiv randomizer and some other crap i forgot
Diffstat (limited to 'mixins')
-rw-r--r--mixins/cli.nix3
-rw-r--r--mixins/firefox/default.nix3
-rw-r--r--mixins/multimedia.nix3
3 files changed, 6 insertions, 3 deletions
diff --git a/mixins/cli.nix b/mixins/cli.nix
index ceb485b..ab01eb4 100644
--- a/mixins/cli.nix
+++ b/mixins/cli.nix
@@ -17,6 +17,7 @@
           curl
           ripgrep
           bat
+          jq
 
           # p2p file transfer
           croc
@@ -73,6 +74,7 @@
             gs = "git status";
             l = "ls -alh";
             b = "bat";
+            alv = "ping -c 1 -W 1";
           };
           functions = {
             fish_greeting = "";
@@ -86,6 +88,7 @@
             nr = "nix run nixpkgs#$argv[1] $argv[2..]";
             tmp = "cd (mktemp -d --suffix -$argv[1])";
             py = ''python -c "print(eval(\"\"\"$argv\"\"\"))"'';
+
             # fish_command_not_found = "nix shell nixpkgs#(command-not-found $argv[1] &| sed -nr 's/.*-p (.*)$/\\1/p' | ${lib.getExe pkgs.fzf} || return 0) -c $argv[1]";
           };
         };
diff --git a/mixins/firefox/default.nix b/mixins/firefox/default.nix
index 977de28..857162e 100644
--- a/mixins/firefox/default.nix
+++ b/mixins/firefox/default.nix
@@ -308,7 +308,7 @@ in
             builtins.readFile (
               builtins.fetchurl {
                 url = "https://raw.githubusercontent.com/arkenfox/user.js/master/user.js";
-                sha256 = "sha256:165c977fwncvrv0c8ddi633ckw97p3pkvjid5fj6j48smsv08axk";
+                sha256 = "sha256:0x0xkbhmb53lyfpbc8wmm44dgr4zrn15b2pc6gny08mh5j4ny8m7";
               }
             )
             + ''
@@ -392,7 +392,6 @@ in
               };
             })
             redirector
-            demodal
             kristofferhagen-nord-theme
             new-tab-override
 
diff --git a/mixins/multimedia.nix b/mixins/multimedia.nix
index 19528c7..0ced6f9 100644
--- a/mixins/multimedia.nix
+++ b/mixins/multimedia.nix
@@ -56,7 +56,8 @@
         };
         bindings = {
           # yank video link
-          "Shift+Y" = "run ${pkgs.writeShellScript "yank-mpv" "
+          "Shift+Y" = "run ${
+            pkgs.writeShellScript "yank-mpv" "
           ${pkgs.wl-clipboard}/bin/wl-copy $1"
           } \${path}";
           # yank video link with timestamp