use same kitty everywhere

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

View file

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

View file

@ -75,8 +75,8 @@
modifier = config.wayland.windowManager.sway.config.modifier; modifier = config.wayland.windowManager.sway.config.modifier;
in in
lib.mkOptionDefault { lib.mkOptionDefault {
"${modifier}+Return" = "exec ${pkgs.kitty}/bin/kitty ${pkgs.tmux}/bin/tmux new"; "${modifier}+Return" = "exec $config.programs.kitty.package}/bin/kitty ${pkgs.tmux}/bin/tmux new";
"${modifier}+Shift+Return" = "exec ${pkgs.kitty}/bin/kitty"; "${modifier}+Shift+Return" = "exec ${config.programs.kitty.package}/bin/kitty";
"${modifier}+d" = "exec ${config.programs.rofi.package}/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";