update.
- not really convenient to call `ykexit` and then quit niri. just keep it.
This commit is contained in:
@@ -278,7 +278,9 @@ binds {
|
||||
Mod+Alt+Escape allow-inhibiting=false { toggle-keyboard-shortcuts-inhibit; }
|
||||
Mod+Shift+Escape hotkey-overlay-title="Exit niri" { quit; }
|
||||
Super+Escape hotkey-overlay-title="Lock the Screen (gtklock)" { spawn "gtklock" "-d"; }
|
||||
Mod+Delete hotkey-overlay-title="Lock screen and Hibernate ..." allow-when-locked=true { spawn "~/.niri-dotfiles/bin/lock-hibernate.sh"; }
|
||||
Mod+Delete hotkey-overlay-title="Lock screen and Hibernate ..." allow-when-locked=true {
|
||||
spawn-sh "(pgrep gtklock || gtklock -d) && sleep 1 && systemctl hibernate";
|
||||
}
|
||||
|
||||
XF86AudioRaiseVolume hotkey-overlay-title=null allow-when-locked=true { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.01+"; }
|
||||
XF86AudioLowerVolume hotkey-overlay-title=null allow-when-locked=true { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.01-"; }
|
||||
@@ -467,8 +469,8 @@ binds {
|
||||
// Mod+Space { switch-layout "next"; }
|
||||
// Mod+Shift+Space { switch-layout "prev"; }
|
||||
|
||||
Print hotkey-overlay-title=null { screenshot; }
|
||||
Ctrl+Print { screenshot-screen; }
|
||||
Print hotkey-overlay-title=null { screenshot-screen; }
|
||||
Mod+Shift+S { screenshot; }
|
||||
Alt+Print { screenshot-window; }
|
||||
|
||||
// Powers off the monitors. To turn them back on, do any input like
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
#!/bin/bash
|
||||
pgrep gtklock || gtklock -d
|
||||
sleep 1
|
||||
systemctl hibernate
|
||||
Reference in New Issue
Block a user