This commit is contained in:
Aleksandr Lebedev 2025-06-23 07:36:21 +02:00
parent fabd157167
commit 1b47f93295
2 changed files with 115 additions and 134 deletions

View file

@ -161,7 +161,7 @@
focus-follows-mouse = {
#enable = true;
};
warp-mouse-to-focus = true;
warp-mouse-to-focus.enable = true;
keyboard = {
xkb.layout = "us, ru, de";
xkb.options = "grp:lctrl_toggle, ctrl:nocaps" + (if hwconfig.hostname == "kylekrein-mac" then ", altwin:swap_alt_win" else "");
@ -286,12 +286,10 @@ in{
{
timeout = 870;
command = "${suspendScript ''${pkgs.libnotify}/bin/notify-send "You are idle. Going to sleep in 30 seconds"''}";
#command = "${locking-script}";
}
{
timeout = 900;
command = "${suspendScript "${systemctl} suspend"}";
command = "pidof hyprlock && ${secondary}";
}
];
};