hyprland user config

This commit is contained in:
sascha.koenig 2025-08-28 13:45:22 +02:00
parent d14d0b8a53
commit de264e37d2
2 changed files with 4 additions and 5 deletions

View File

@ -36,7 +36,7 @@
"hyprpanel"
"hyprpaper"
"hypridle"
"hyprpaper-random"
"sleep 1 && hyprpaper-random"
"wl-paste --type text --watch cliphist store" # Stores only text data
"wl-paste --type image --watch cliphist store" # Stores only image data "wl-paste -p -t text --watch clipman store -P --histpath=\"~/.local/share/clipman-primary.json\""
];
@ -236,7 +236,7 @@
enable = true;
settings = {
general = {
before_sleep_cmd = "loginctl lock-session";
before_sleep_cmd = "hyprlock";
after_sleep_cmd = "hyprctl dispatch dpms on";
inhibit_sleep = 3;
};
@ -244,10 +244,10 @@
listener = [
{
timeout = 300; # 5 min
on-timeout = "loginctl lock-session";
on-timeout = "hyprlock";
}
{
timeout = 330; # 5.5 min
timeout = 420; # 5.5 min
on-timeout = "hyprctl dispatch dpms off";
on-resume = "hyprctl dispatch dpms on";
}

View File

@ -101,7 +101,6 @@
# networking.firewall.allowedUDPPorts = [ ... ];
# Or disable the firewall altogether.
# networking.firewall.enable = false;
# Copy the NixOS configuration file and link it from the resulting system
# (/run/current-system/configuration.nix). This is useful in case you
# accidentally delete configuration.nix.