From 54f46e6aec463ab783fe268b935b6cd48411dd68 Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Thu, 27 Feb 2025 13:58:53 +0100 Subject: [PATCH] kaslkjdsalkdsalakdsj --- users/pbsds/home/profiles/desktop/mpv.nix | 4 +++- users/pbsds/home/profiles/shell.nix | 1 + users/pbsds/home/profiles/ssh.nix | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/users/pbsds/home/profiles/desktop/mpv.nix b/users/pbsds/home/profiles/desktop/mpv.nix index 069f4ee..963fd39 100644 --- a/users/pbsds/home/profiles/desktop/mpv.nix +++ b/users/pbsds/home/profiles/desktop/mpv.nix @@ -11,8 +11,10 @@ in #home.packages = with pkgs; [ mpv ]; programs.mpv.enable = true; + programs.mpv.bindings."shift+p" = "playlist-prev"; + programs.mpv.bindings."shift+n" = "playlist-next"; programs.mpv.bindings."n" = "sub-seek 1"; - programs.mpv.bindings."SHIFT+n" = "sub-seek -1"; + /* programs.mpv.bindings."SHIFT+n" = "sub-seek -1"; */ programs.mpv.bindings."b" = ''cycle-values audio-channels 2 5 7 "auto"''; # WeChip g20 voice remote diff --git a/users/pbsds/home/profiles/shell.nix b/users/pbsds/home/profiles/shell.nix index 76d013b..ed6ef3b 100644 --- a/users/pbsds/home/profiles/shell.nix +++ b/users/pbsds/home/profiles/shell.nix @@ -102,6 +102,7 @@ in home.shellAliases.dushd = "du -shc * .[!.]?* | sort -h"; home.shellAliases.open = "xdg-open"; + home.shellAliases.rwhich = mkArgsAlias ''which "$@" | xargs realpath --''; home.shellAliases.grep = "grep --color"; home.shellAliases.diff = "diff -u --color"; # eyo diff --git a/users/pbsds/home/profiles/ssh.nix b/users/pbsds/home/profiles/ssh.nix index 9f79746..3f07b03 100644 --- a/users/pbsds/home/profiles/ssh.nix +++ b/users/pbsds/home/profiles/ssh.nix @@ -3,6 +3,7 @@ home.shellAliases.tssh = "ssh -t"; home.shellAliases.rssh = "ssh -l root"; + home.shellAliases.xssh = "ssh -Y"; programs.bash.initExtra = '' # ssh autocomplete