From bdebc9e86ad77316e1d2703cdc2f5d194d51742a Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Tue, 31 Aug 2021 12:32:52 +0200 Subject: use s6 to manage user services --- .local/share/s6/footserver/run | 2 ++ .local/share/s6/kanshi/run | 2 ++ .local/share/s6/mako/run | 2 ++ .local/share/s6/oguri/run | 2 ++ .local/share/s6/pipewire/run | 2 ++ .local/share/s6/swayidle/run | 9 +++++++++ .local/share/s6/waybar/run | 2 ++ .local/share/s6/wlsunset/run | 4 ++++ 8 files changed, 25 insertions(+) create mode 100755 .local/share/s6/footserver/run create mode 100755 .local/share/s6/kanshi/run create mode 100755 .local/share/s6/mako/run create mode 100755 .local/share/s6/oguri/run create mode 100755 .local/share/s6/pipewire/run create mode 100755 .local/share/s6/swayidle/run create mode 100755 .local/share/s6/waybar/run create mode 100755 .local/share/s6/wlsunset/run (limited to '.local') 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 +} -- cgit 1.4.1