diff options
| author | Robert Günzler <r@gnzler.io> | 2021-08-31 12:32:52 +0200 |
|---|---|---|
| committer | Robert Günzler <r@gnzler.io> | 2021-08-31 12:41:21 +0200 |
| commit | bdebc9e86ad77316e1d2703cdc2f5d194d51742a (patch) | |
| tree | 25f9bcec1924bb668e2f2077d229904fbe2a56cb /.local/share | |
| parent | 384babec22004b8a2cdd5cf6c6d4aafa05594813 (diff) | |
use s6 to manage user services
Diffstat (limited to '.local/share')
| -rwxr-xr-x | .local/share/s6/footserver/run | 2 | ||||
| -rwxr-xr-x | .local/share/s6/kanshi/run | 2 | ||||
| -rwxr-xr-x | .local/share/s6/mako/run | 2 | ||||
| -rwxr-xr-x | .local/share/s6/oguri/run | 2 | ||||
| -rwxr-xr-x | .local/share/s6/pipewire/run | 2 | ||||
| -rwxr-xr-x | .local/share/s6/swayidle/run | 9 | ||||
| -rwxr-xr-x | .local/share/s6/waybar/run | 2 | ||||
| -rwxr-xr-x | .local/share/s6/wlsunset/run | 4 |
8 files changed, 25 insertions, 0 deletions
diff --git a/.local/share/s6/footserver/run b/.local/share/s6/footserver/run new file mode 100755 index 0000000..dcc018c --- /dev/null +++ b/.local/share/s6/footserver/run @@ -0,0 +1,2 @@ +#!/bin/execlineb -P +foreground { foot -s } diff --git a/.local/share/s6/kanshi/run b/.local/share/s6/kanshi/run new file mode 100755 index 0000000..801da1a --- /dev/null +++ b/.local/share/s6/kanshi/run @@ -0,0 +1,2 @@ +#!/bin/execlineb -P +foreground { kanshi } diff --git a/.local/share/s6/mako/run b/.local/share/s6/mako/run new file mode 100755 index 0000000..4964adf --- /dev/null +++ b/.local/share/s6/mako/run @@ -0,0 +1,2 @@ +#!/bin/execlineb -P +foreground { mako } diff --git a/.local/share/s6/oguri/run b/.local/share/s6/oguri/run new file mode 100755 index 0000000..fee19b2 --- /dev/null +++ b/.local/share/s6/oguri/run @@ -0,0 +1,2 @@ +#!/bin/execlineb -P +foreground { oguri } diff --git a/.local/share/s6/pipewire/run b/.local/share/s6/pipewire/run new file mode 100755 index 0000000..8cd9afd --- /dev/null +++ b/.local/share/s6/pipewire/run @@ -0,0 +1,2 @@ +#!/bin/execlineb -P +foreground { pipewire } diff --git a/.local/share/s6/swayidle/run b/.local/share/s6/swayidle/run new file mode 100755 index 0000000..b41d059 --- /dev/null +++ b/.local/share/s6/swayidle/run @@ -0,0 +1,9 @@ +#!/bin/execlineb -P +foreground { + swayidle -w \ + timeout 540 'lock' \ + timeout 800 'swaymsg output \* dpms off' \ + resume 'swaymsg output \* dpms on' \ + before-sleep 'lock' \ + lock 'lock' +} diff --git a/.local/share/s6/waybar/run b/.local/share/s6/waybar/run new file mode 100755 index 0000000..5de0ff6 --- /dev/null +++ b/.local/share/s6/waybar/run @@ -0,0 +1,2 @@ +#!/bin/execlineb -P +foreground { waybar } diff --git a/.local/share/s6/wlsunset/run b/.local/share/s6/wlsunset/run new file mode 100755 index 0000000..9d325aa --- /dev/null +++ b/.local/share/s6/wlsunset/run @@ -0,0 +1,4 @@ +#!/bin/execlineb -P +foreground { + wlsunset -l $HOME_LAT -L $HOME_LON -H $HOME/bin/darkmode +} |