Move rivertile to systemd service
This commit is contained in:
5
init
5
init
@ -237,10 +237,8 @@ riverctl keyboard-layout \
|
||||
-options 'caps:ctrl_modifier' \
|
||||
'us'
|
||||
|
||||
# Set the default layout generator to be rivertile and start it.
|
||||
# River will send the process group of the init executable SIGTERM on exit.
|
||||
# Set the default layout generator to be rivertile (started by systemd)
|
||||
riverctl default-layout rivertile
|
||||
rivertile -view-padding 3 -outer-padding 3 -main-ratio 0.5 &
|
||||
|
||||
# Update the some environment variables
|
||||
systemctl --user import-environment WAYLAND_DISPLAY DISPLAY
|
||||
@ -262,6 +260,7 @@ systemd-notify --ready
|
||||
# systemctl --user enable swaybg.service
|
||||
# systemctl --user enable khal-notify.service
|
||||
# systemctl --user enable inhibit-sleep-for-audio.service
|
||||
# systemctl --user enable rivertile.service
|
||||
|
||||
# Laptop only:
|
||||
# systemctl --user enable laptop-lid-daemon.service
|
||||
|
||||
Reference in New Issue
Block a user