Updates
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=Autocutsel
|
||||
|
||||
[Service]
|
||||
Type = forking
|
||||
Restart = on-failure
|
||||
RestartSec = 10
|
||||
ExecStartPre = /usr/bin/autocutsel -fork
|
||||
ExecStart = /usr/bin/autocutsel -selection PRIMARY -fork
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
@@ -0,0 +1,8 @@
|
||||
[Unit]
|
||||
Description=Logs display standby state to a file
|
||||
|
||||
[Service]
|
||||
ExecStart=%h/dotfiles/bin/log-display-standby-state
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
@@ -0,0 +1,11 @@
|
||||
[Unit]
|
||||
Description=Log display standby state every minute
|
||||
Requires=display-standby-state-logger.service
|
||||
|
||||
[Timer]
|
||||
Unit=display-standby-state-logger.service
|
||||
OnCalendar=*-*-* *:*:00
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=Automatic display switch
|
||||
|
||||
[Service]
|
||||
ExecStart=display_switch
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
|
||||
@@ -3,9 +3,10 @@ Description=swayidle: Manages lockscreen and display
|
||||
|
||||
[Service]
|
||||
ExecStart=/sbin/swayidle \
|
||||
timeout 300 /home/gregory/dotfiles/bin/screens-lock \
|
||||
timeout 10 /home/gregory/dotfiles/bin/screens-off \
|
||||
resume /home/gregory/dotfiles/bin/screens-on
|
||||
timeout 300 %h/dotfiles/bin/screens-lock \
|
||||
timeout 60 %h/dotfiles/bin/screens-off \
|
||||
resume %h/dotfiles/bin/screens-on \
|
||||
before-sleep %h/dotfiles/bin/screens-lock
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
Description=wl-clipsync: Synchronizes primary and clipboard paste buffers
|
||||
|
||||
[Service]
|
||||
ExecStart=/home/gregory/go/path/bin/wl-clipsync -i 300ms
|
||||
ExecStart=%h/go/path/bin/wl-clipsync -i 300ms
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
|
||||
Reference in New Issue
Block a user