mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 21:01:34 +01:00
Reduce delay between lock and suspend
This commit is contained in:
parent
e551976a8a
commit
f492901e0c
1 changed files with 3 additions and 2 deletions
|
|
@ -23,6 +23,7 @@
|
||||||
|
|
||||||
# Variables
|
# Variables
|
||||||
$rofi-clipboard = cliphist list | rofi -dmenu -display-columns 2 | cliphist decode | wl-copy
|
$rofi-clipboard = cliphist list | rofi -dmenu -display-columns 2 | cliphist decode | wl-copy
|
||||||
|
$lock-suspend = loginctl lock-session && sleep 0.5 && systemctl suspend
|
||||||
$play-pause = playerctl --ignore-player=firefox play-pause
|
$play-pause = playerctl --ignore-player=firefox play-pause
|
||||||
$play-next = playerctl --ignore-player=firefox next
|
$play-next = playerctl --ignore-player=firefox next
|
||||||
$play-previous = playerctl --ignore-player=firefox previous
|
$play-previous = playerctl --ignore-player=firefox previous
|
||||||
|
|
@ -86,8 +87,8 @@
|
||||||
bindrl = SUPER CONTROL, Q, exit,
|
bindrl = SUPER CONTROL, Q, exit,
|
||||||
bindrl = SUPER CONTROL, P, exec, poweroff
|
bindrl = SUPER CONTROL, P, exec, poweroff
|
||||||
bindrl = SUPER CONTROL, R, exec, reboot
|
bindrl = SUPER CONTROL, R, exec, reboot
|
||||||
bindrl = SUPER CONTROL, S, exec, loginctl lock-session && sleep 1 && systemctl suspend
|
bindrl = SUPER CONTROL, S, exec, $lock-suspend
|
||||||
bindl = , switch:on:Lid Switch, exec, loginctl lock-session && sleep 1 && systemctl suspend
|
bindl = , switch:on:Lid Switch, exec, $lock-suspend
|
||||||
bindrl = SUPER CONTROL, L, exec, loginctl lock-session
|
bindrl = SUPER CONTROL, L, exec, loginctl lock-session
|
||||||
bindrl = SUPER CONTROL, B, exec, sleep 1 && hyprctl dispatch dpms off
|
bindrl = SUPER CONTROL, B, exec, sleep 1 && hyprctl dispatch dpms off
|
||||||
bind = SUPER CONTROL, W, exec, pkill waybar && hyprctl dispatch exec waybar
|
bind = SUPER CONTROL, W, exec, pkill waybar && hyprctl dispatch exec waybar
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue