I've decided to switch to Hyprland again, after having issues with Niri, especially with XWayland apps. It also has better and more widespread integration with other pieces of software that I use/plan to use. commit5a42498391
Author: Anthony Rodriguez <anthony@nezia.dev> Date: Fri Dec 13 16:59:37 2024 +0100 modules/theme: update fuzzel selection colors commitf3386f5b0a
Author: Anthony Rodriguez <anthony@nezia.dev> Date: Fri Dec 13 16:53:57 2024 +0100 system/services/greetd: enable gnome keyring commitc1caf6d844
Author: Anthony Rodriguez <anthony@nezia.dev> Date: Fri Dec 13 16:51:24 2024 +0100 modules/themes: switch to phinger-cursors, update border colors commitaa7a00d330
Author: Anthony Rodriguez <anthony@nezia.dev> Date: Fri Dec 13 14:54:43 2024 +0100 hosts/solaire: switch to hyprland commit7c7a332a3e
Author: Anthony Rodriguez <anthony@nezia.dev> Date: Fri Dec 13 14:54:34 2024 +0100 modules/theme: set default theme to catppuccin (again) commit471c6b5503
Author: Anthony Rodriguez <anthony@nezia.dev> Date: Fri Dec 13 14:54:24 2024 +0100 flake: add hyprwm-contrib for grimslurp commit04914eab73
Author: Anthony Rodriguez <anthony@nezia.dev> Date: Fri Dec 13 14:54:09 2024 +0100 system/services/greetd: switch to hyprland as compositor (thanks jacekpoz) commitd185864012
Author: Anthony Rodriguez <anthony@nezia.dev> Date: Fri Dec 13 14:52:56 2024 +0100 home/services/swaync: remove unused variables commit75ff00b2e2
Author: Anthony Rodriguez <anthony@nezia.dev> Date: Fri Dec 13 14:52:43 2024 +0100 home/programs/waybar: add hyprland workspaces commitb36b3abf53
Author: Anthony Rodriguez <anthony@nezia.dev> Date: Fri Dec 13 14:52:31 2024 +0100 home/programs/hypr: add basic hyprland configuration commitcdda6bf2bc
Author: Anthony Rodriguez <anthony@nezia.dev> Date: Fri Dec 13 12:03:53 2024 +0100 system/programs: add hyprland module commitef36f7be36
Author: Anthony Rodriguez <anthony@nezia.dev> Date: Fri Dec 13 12:03:43 2024 +0100 flake: add hyprland and cachix commitcdbcd8d1bd
Author: Anthony Rodriguez <anthony@nezia.dev> Date: Fri Dec 13 12:03:37 2024 +0100 system/nix: add wheel to trusted users
30 lines
694 B
Nix
30 lines
694 B
Nix
_: {
|
|
services.hypridle = {
|
|
enable = true;
|
|
|
|
settings = {
|
|
general = {
|
|
lock_cmd = "pidof hyprlock || hyprlock";
|
|
unlock_cmd = "pkill --signal SIGUSR1 hyprlock";
|
|
before_sleep_cmd = "loginctl lock-session";
|
|
after_sleep_cmd = "hyprctl dispatch dpms on";
|
|
};
|
|
|
|
listener = [
|
|
{
|
|
timeout = 300; # 5m
|
|
on-timeout = "loginctl lock-session";
|
|
}
|
|
{
|
|
timeout = 330; # 5.5m
|
|
on-timeout = "hyprctl dipsatch dpms off";
|
|
on-resume = "hyprctl dispatch dpms on";
|
|
}
|
|
{
|
|
timeout = 600; # 10m
|
|
on-timeout = "systemctl suspend";
|
|
}
|
|
];
|
|
};
|
|
};
|
|
}
|