diff --git a/home/wm/hyprland/default.nix b/home/wm/hyprland/default.nix index 98ce159..d39f4e9 100644 --- a/home/wm/hyprland/default.nix +++ b/home/wm/hyprland/default.nix @@ -8,7 +8,8 @@ let swaylock = "${pkgs.swaylock}/bin/swaylock"; tmux = "${pkgs.tmux}/bin/tmux"; wpctl = "${pkgs.wireplumber}/bin/wpctl"; -in { +in +{ wayland.windowManager.hyprland = { enable = true; systemdIntegration = true; @@ -42,6 +43,7 @@ in { bind = SUPER,d, exec, ${rofi} -show drun bind = SUPER,l, exec, ${swaylock} -f -i /tmp/lockpaper.jpg bind = SUPER_SHIFT,W, exec, ~/.config/scripts/chpaper.sh + bind = SUPER_SHIFT,escape, exec, ${pkgs.scripts}/bin/power-menu bind = SUPER,1, workspace, 1 bind = SUPER,2, workspace, 2 diff --git a/packages/scripts/default.nix b/packages/scripts/default.nix index d43c396..98e91f6 100644 --- a/packages/scripts/default.nix +++ b/packages/scripts/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenvNoCC, makeWrapperm, libnotify }: +{ lib, stdenvNoCC, makeWrapper, libnotify }: stdenvNoCC.mkDerivation { pname = "scripts"; version = "1.0";