Compare commits

...

2 commits

Author SHA1 Message Date
joygnu 0babea2032 hypridle fix 2024-08-09 20:58:10 +02:00
joygnu 2df9cac9d4 update 2024-08-09 20:43:05 +02:00
2 changed files with 8 additions and 8 deletions

View file

@ -3,14 +3,9 @@
services.hypridle = { services.hypridle = {
enable = true; enable = true;
settings = { settings = {
general = {
after_sleep_cmd = "hyprctl dispatch dpms on";
ignore_dbus_inhibit = false;
};
listener = [ listener = [
{ {
timeout = 1200; timeout = 300;
on-timeout = "hyprctl dispatch dpms off"; on-timeout = "hyprctl dispatch dpms off";
on-resume = "hyprctl dispatch dpms on"; on-resume = "hyprctl dispatch dpms on";
} }

View file

@ -10,6 +10,7 @@
slurp slurp
hyprpicker hyprpicker
swappy swappy
hypridle
]; ];
services.cliphist.enable = true; services.cliphist.enable = true;
@ -42,6 +43,7 @@
exec-once = [ exec-once = [
"ags" "ags"
"hypridle"
]; ];
windowrule = [ windowrule = [
@ -170,8 +172,11 @@
input = { input = {
kb_layout = "us,de"; kb_layout = "us,de";
kb_variant = ",qwerty"; kb_variant = ",qwerty";
kb_options = "grp:alt_shift_toggle caps:swapescape"; kb_options = [
}; "grp:alt_shift_toggle"
"caps:swapescape"
];
};
device = { device = {
name= "at-translated-set-2-keyboard"; name= "at-translated-set-2-keyboard";