From 7dcfad3775d066d35b21bdaebcc07c261ff60c5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Sun, 19 Apr 2020 13:48:51 +0100 Subject: [PATCH] experiment with rofi --- nixos/i3/i3.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nixos/i3/i3.nix b/nixos/i3/i3.nix index 8f43f168..2e24dca3 100644 --- a/nixos/i3/i3.nix +++ b/nixos/i3/i3.nix @@ -14,7 +14,7 @@ in startup = [ { command = "exec hsetroot -solid '#002b36'"; always = true; notification = false; } { command = "exec setxkbmap -layout pl"; always = true; notification = false; } - { command = "exec grobi update"; always = false; notification = false; } + { command = "exec ${pkgs.grobi}/bin/grobi update"; always = false; notification = false; } { command = "exec $HOME/dev/dotfiles/nixos/i3/lock.sh"; always = false; notification = false; } { command = "exec $HOME/dev/dotfiles/nixos/i3/battery-popup.sh"; always = false; notification = false; } { command = "exec xdg-mime default org.gnome.Evince.desktop application/pdf"; always = false; notification = false; } @@ -40,6 +40,7 @@ in keybindings = { "${mod}+Shift+e" = "exec i3-msg exit"; "${mod}+Shift+c" = "reload"; + "${mod}+Shift+d" = "exec ${pkgs.grobi}/bin/grobi update"; "${mod}+Shift+r" = "restart"; "${mod}+Shift+l" = "exec physlock -d"; "${mod}+Return" = "exec i3-sensible-terminal"; @@ -55,6 +56,7 @@ in "Print" = "exec ${pkgs.gnome3.gnome-screenshot}/bin/gnome-screenshot -i"; "${mod}+r" = "exec nix-shell -p glibcLocales --run '${pkgs.rofi}/bin/rofi -show combi -combi-modi window#run#ssh -modi combi'"; + "${mod}+Alt+r" = "exec ${pkgs.nix}/bin/nix-shell -p glibcLocales --run '${pkgs.rofi}/bin/rofi -show combi -combi-modi window#run#ssh -modi combi'"; "${mod}+c" = "exec ${pkgs.clipmenu}/bin/clipmenu"; "${mod}+q" = "kill"; "${mod}+f" = "fullscreen toggle";