diff --git a/home/dconf.nix b/home/dconf.nix index 95ce1a1..d5f41fd 100644 --- a/home/dconf.nix +++ b/home/dconf.nix @@ -12,6 +12,7 @@ "/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom3/" "/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom4/" "/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom5/" + "/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom6/" ]; }; @@ -50,6 +51,11 @@ command = "firefox"; name = "open-firefox"; }; + "org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom5" = { + binding = "y+e"; + command = "kitty --start-as=normal -- bash -ic 'repo'"; + name = "open-repos"; + }; "org/gnome/shell" = { disable-user-extensions = false; # enables user extensions diff --git a/home/zsh.nix b/home/zsh.nix index 287e8ac..25d0b70 100755 --- a/home/zsh.nix +++ b/home/zsh.nix @@ -18,6 +18,11 @@ fi rm -f -- "$tmp" } + function proj() { + lsn -ld ~/repos/* --color=never | \ + awk '{print $7}' | \ + fzf --reverse | xargs -I{} code {} -n && exit + } ''; history.size = 10000; history.ignoreAllDups = true;