Add hypridle and hyprlock

This commit is contained in:
alejandro-angulo 2025-08-17 22:27:12 -07:00
parent e19b036d3f
commit 389b051a7a
Signed by: alejandro-angulo
GPG key ID: 75579581C74554B6
4 changed files with 246 additions and 1 deletions

View file

@ -62,11 +62,13 @@ in
kitty.enable = true;
fuzzel.enable = true;
waybar.enable = true;
hyprlock.enable = true;
};
services = {
gammastep.enable = true;
playerctld.enable = true;
swaync.enable = true;
hypridle.enable = true;
};
};
@ -153,6 +155,7 @@ in
exec-once = [
"systemctl --user import-environment DISPLAY WAYLAND_DISPLAY XDG_CURRENT_DESKTOP"
"${pkgs.swaynotificationcenter}/bin/swaync"
"${pkgs.waybar}/bin/waybar"
"hyprpaper"
];
@ -214,6 +217,9 @@ in
"$mod SHIFT, n, exec, ${pkgs.swaynotificationcenter}/bin/swaync-client -t -sw"
"$mod SHIFT, d, exec, ${pkgs.swaynotificationcenter}/bin/swaync-client -d -sw"
"$mod SHIFT, x, exec, hyprctl dispatch exit"
"$mod, x, exec, ${pkgs.hyprlock}/bin/hyprlock"
# Scratchpad
"$mod SHIFT, minus, movetoworkspace, special:magic"
"$mod, minus, togglespecialworkspace, magic"