Compare commits
5 Commits
f70b115dd1
...
a7ea8624fd
| Author | SHA1 | Date | |
|---|---|---|---|
|
a7ea8624fd
|
|||
|
19adb5f4cf
|
|||
|
2b2386bbbe
|
|||
|
6c6f1662a6
|
|||
|
bb563c9e23
|
@@ -41,7 +41,7 @@ input {
|
||||
}
|
||||
|
||||
warp-mouse-to-focus
|
||||
|
||||
disable-power-key-handling
|
||||
focus-follows-mouse max-scroll-amount="0%"
|
||||
}
|
||||
|
||||
@@ -121,6 +121,7 @@ layout {
|
||||
|
||||
hotkey-overlay {
|
||||
skip-at-startup
|
||||
hide-not-bound
|
||||
}
|
||||
|
||||
layer-rule {
|
||||
@@ -287,7 +288,7 @@ binds {
|
||||
// The allow-inhibiting=false property can be applied to other binds as well,
|
||||
// which ensures niri always processes them, even when an inhibitor is active.
|
||||
Mod+Alt+Escape allow-inhibiting=false { toggle-keyboard-shortcuts-inhibit; }
|
||||
Mod+Shift+Escape hotkey-overlay-title="Exit niri" { quit; }
|
||||
XF86PowerOff 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-sh "(pgrep gtklock || gtklock -d) && sleep 1 && systemctl hibernate";
|
||||
|
||||
12
.config/systemd/user/on-hourly@.timer
Normal file
12
.config/systemd/user/on-hourly@.timer
Normal file
@@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=Run %i hourly
|
||||
|
||||
[Timer]
|
||||
OnCalendar=hourly
|
||||
RandomizedDelaySec=1m
|
||||
AccuracySec=1s
|
||||
Persistent=true
|
||||
Unit=%i.service
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
12
.config/systemd/user/on-monthly@.timer
Normal file
12
.config/systemd/user/on-monthly@.timer
Normal file
@@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=Run %i monthly
|
||||
|
||||
[Timer]
|
||||
OnCalendar=monthly
|
||||
RandomizedDelaySec=1h
|
||||
AccuracySec=45s
|
||||
Persistent=true
|
||||
Unit=%i.service
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
12
.config/systemd/user/on-weekly@.timer
Normal file
12
.config/systemd/user/on-weekly@.timer
Normal file
@@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=Run %i weekly
|
||||
|
||||
[Timer]
|
||||
OnCalendar=weekly
|
||||
RandomizedDelaySec=30m
|
||||
AccuracySec=1s
|
||||
Persistent=true
|
||||
Unit=%i.service
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
Reference in New Issue
Block a user