diff --git a/home/wm/hyprland/default.nix b/home/wm/hyprland/default.nix index bfe5e36..6d0200c 100644 --- a/home/wm/hyprland/default.nix +++ b/home/wm/hyprland/default.nix @@ -3,7 +3,7 @@ let brightnessctl = "${pkgs.brightnessctl}/bin/brightnessctl"; grim = "${pkgs.grim}/bin/grim"; 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"; rofi = "${config.programs.rofi.package}/bin/rofi"; slurp = "${pkgs.slurp}/bin/slurp"; diff --git a/home/wm/sway/default.nix b/home/wm/sway/default.nix index d510f8e..ef5cba0 100644 --- a/home/wm/sway/default.nix +++ b/home/wm/sway/default.nix @@ -75,8 +75,8 @@ modifier = config.wayland.windowManager.sway.config.modifier; in lib.mkOptionDefault { - "${modifier}+Return" = "exec ${pkgs.kitty}/bin/kitty ${pkgs.tmux}/bin/tmux new"; - "${modifier}+Shift+Return" = "exec ${pkgs.kitty}/bin/kitty"; + "${modifier}+Return" = "exec $config.programs.kitty.package}/bin/kitty ${pkgs.tmux}/bin/tmux new"; + "${modifier}+Shift+Return" = "exec ${config.programs.kitty.package}/bin/kitty"; "${modifier}+d" = "exec ${config.programs.rofi.package}/bin/rofi -show drun"; "${modifier}+Shift+c" = "reload"; "${modifier}+l" = "exec ${pkgs.swaylock}/bin/swaylock -f -i /tmp/lockpaper.jpg";