mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 12:23:56 -05:00
hyprland: sleep 2 before suspend
This commit is contained in:
parent
172f8b6b28
commit
5468b82b64
|
@ -117,7 +117,7 @@
|
||||||
resume '${hyprctl} dispatch dpms on' \
|
resume '${hyprctl} dispatch dpms on' \
|
||||||
${
|
${
|
||||||
if config.alyraffauf.desktop.hyprland.autoSuspend
|
if config.alyraffauf.desktop.hyprland.autoSuspend
|
||||||
then '' timeout 900 'sleep 2 && ${lib.getExe' pkgs.systemd "systemctl"} suspend' \''
|
then ''timeout 900 'sleep 2 && ${lib.getExe' pkgs.systemd "systemctl"} suspend' \''
|
||||||
else ''\''
|
else ''\''
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
|
@ -353,6 +353,12 @@
|
||||||
bind = ${modifier} SHIFT, 9, movetoworkspace, 9
|
bind = ${modifier} SHIFT, 9, movetoworkspace, 9
|
||||||
bind = ${modifier} SHIFT, 0, movetoworkspace, 10
|
bind = ${modifier} SHIFT, 0, movetoworkspace, 10
|
||||||
|
|
||||||
|
# Move workspace to another output.
|
||||||
|
bind = ${modifier} CONTROL SHIFT, Left, movecurrentworkspacetomonitor, l
|
||||||
|
bind = ${modifier} CONTROL SHIFT, Down, movecurrentworkspacetomonitor, d
|
||||||
|
bind = ${modifier} CONTROL SHIFT, Up, movecurrentworkspacetomonitor, u
|
||||||
|
bind = ${modifier} CONTROL SHIFT, Right, movecurrentworkspacetomonitor, r
|
||||||
|
|
||||||
# Scratchpad show and move
|
# Scratchpad show and move
|
||||||
bind = ${modifier}, S, togglespecialworkspace, magic
|
bind = ${modifier}, S, togglespecialworkspace, magic
|
||||||
bind = ${modifier} SHIFT, S, movetoworkspace, special:magic
|
bind = ${modifier} SHIFT, S, movetoworkspace, special:magic
|
||||||
|
|
Loading…
Reference in a new issue