From cd55d2a47d3101d425669cf1d76638bd6ec9a474 Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Fri, 7 Apr 2023 21:05:41 +0530 Subject: [PATCH] use same rofi everywhere --- home/wm/hyprland/default.nix | 2 +- home/wm/sway/default.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/home/wm/hyprland/default.nix b/home/wm/hyprland/default.nix index b1cc884..bfe5e36 100644 --- a/home/wm/hyprland/default.nix +++ b/home/wm/hyprland/default.nix @@ -5,7 +5,7 @@ let hyprctl = "${config.wayland.windowManager.hyprland.package}/bin/hyprctl"; kitty = "${pkgs.kitty}/bin/kitty"; playerctl = "${pkgs.playerctl}/bin/playerctl"; - rofi = "${pkgs.rofi-wayland}/bin/rofi"; + rofi = "${config.programs.rofi.package}/bin/rofi"; slurp = "${pkgs.slurp}/bin/slurp"; swaylock = "${pkgs.swaylock}/bin/swaylock"; tmux = "${pkgs.tmux}/bin/tmux"; diff --git a/home/wm/sway/default.nix b/home/wm/sway/default.nix index d1d4138..d510f8e 100644 --- a/home/wm/sway/default.nix +++ b/home/wm/sway/default.nix @@ -77,7 +77,7 @@ lib.mkOptionDefault { "${modifier}+Return" = "exec ${pkgs.kitty}/bin/kitty ${pkgs.tmux}/bin/tmux new"; "${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}+l" = "exec ${pkgs.swaylock}/bin/swaylock -f -i /tmp/lockpaper.jpg"; "${modifier}+Shift+w" = "exec ~/.config/scripts/chpaper.sh";