use same rofi everywhere

This commit is contained in:
Adithya 2023-04-07 21:05:41 +05:30
parent fe6b13fbf8
commit cd55d2a47d
Signed by: adtya
GPG key ID: 48FC9915FFD326D0
2 changed files with 2 additions and 2 deletions

View file

@ -5,7 +5,7 @@ let
hyprctl = "${config.wayland.windowManager.hyprland.package}/bin/hyprctl"; hyprctl = "${config.wayland.windowManager.hyprland.package}/bin/hyprctl";
kitty = "${pkgs.kitty}/bin/kitty"; kitty = "${pkgs.kitty}/bin/kitty";
playerctl = "${pkgs.playerctl}/bin/playerctl"; playerctl = "${pkgs.playerctl}/bin/playerctl";
rofi = "${pkgs.rofi-wayland}/bin/rofi"; rofi = "${config.programs.rofi.package}/bin/rofi";
slurp = "${pkgs.slurp}/bin/slurp"; slurp = "${pkgs.slurp}/bin/slurp";
swaylock = "${pkgs.swaylock}/bin/swaylock"; swaylock = "${pkgs.swaylock}/bin/swaylock";
tmux = "${pkgs.tmux}/bin/tmux"; tmux = "${pkgs.tmux}/bin/tmux";

View file

@ -77,7 +77,7 @@
lib.mkOptionDefault { lib.mkOptionDefault {
"${modifier}+Return" = "exec ${pkgs.kitty}/bin/kitty ${pkgs.tmux}/bin/tmux new"; "${modifier}+Return" = "exec ${pkgs.kitty}/bin/kitty ${pkgs.tmux}/bin/tmux new";
"${modifier}+Shift+Return" = "exec ${pkgs.kitty}/bin/kitty"; "${modifier}+Shift+Return" = "exec ${pkgs.kitty}/bin/kitty";
"${modifier}+d" = "exec ${pkgs.rofi-wayland}/bin/rofi -show drun"; "${modifier}+d" = "exec ${config.programs.rofi.package}/bin/rofi -show drun";
"${modifier}+Shift+c" = "reload"; "${modifier}+Shift+c" = "reload";
"${modifier}+l" = "exec ${pkgs.swaylock}/bin/swaylock -f -i /tmp/lockpaper.jpg"; "${modifier}+l" = "exec ${pkgs.swaylock}/bin/swaylock -f -i /tmp/lockpaper.jpg";
"${modifier}+Shift+w" = "exec ~/.config/scripts/chpaper.sh"; "${modifier}+Shift+w" = "exec ~/.config/scripts/chpaper.sh";