diff options
| author | Robert Günzler <r@gnzler.io> | 2021-11-15 13:01:29 +0100 |
|---|---|---|
| committer | Robert Günzler <r@gnzler.io> | 2021-11-15 13:01:29 +0100 |
| commit | de0082649836e741dc2b2ff257465f2130b8fa35 (patch) | |
| tree | 8424be43548f1244cf3c13586fcdcb7053ecc73b /.local/share/s6 | |
| parent | 3cf45c29b17f8cc2f41e586de3463250e79007f0 (diff) | |
s6: add loggers
Diffstat (limited to '.local/share/s6')
| -rwxr-xr-x | .local/share/s6/footserver/log/run | 3 | ||||
| -rwxr-xr-x | .local/share/s6/footserver/run | 4 | ||||
| -rwxr-xr-x | .local/share/s6/kanshi/log/run | 3 | ||||
| -rwxr-xr-x | .local/share/s6/mako/log/run | 3 | ||||
| -rwxr-xr-x | .local/share/s6/mako/run | 4 | ||||
| -rwxr-xr-x | .local/share/s6/oguri/log/run | 3 | ||||
| -rwxr-xr-x | .local/share/s6/oguri/run | 4 | ||||
| -rwxr-xr-x | .local/share/s6/pipewire/log/run | 3 | ||||
| -rwxr-xr-x | .local/share/s6/pipewire/run | 4 | ||||
| -rwxr-xr-x | .local/share/s6/swayidle/log/run | 3 | ||||
| -rwxr-xr-x | .local/share/s6/swayidle/run | 6 | ||||
| -rwxr-xr-x | .local/share/s6/waybar/log/run | 3 | ||||
| -rwxr-xr-x | .local/share/s6/waybar/run | 4 | ||||
| -rwxr-xr-x | .local/share/s6/wlsunset/log/run | 3 | ||||
| -rwxr-xr-x | .local/share/s6/wlsunset/run | 4 |
15 files changed, 39 insertions, 15 deletions
diff --git a/.local/share/s6/footserver/log/run b/.local/share/s6/footserver/log/run new file mode 100755 index 0000000..bfbe9d7 --- /dev/null +++ b/.local/share/s6/footserver/log/run @@ -0,0 +1,3 @@ +#!/bin/execlineb -P +foreground { mkdir -p /var/log/s6/footserver } +/bin/s6-log -b s1 T /var/log/s6/footserver diff --git a/.local/share/s6/footserver/run b/.local/share/s6/footserver/run index 8d052b3..ff44973 100755 --- a/.local/share/s6/footserver/run +++ b/.local/share/s6/footserver/run @@ -1,2 +1,2 @@ -#!/bin/execlineb -P -foot -s +#!/bin/sh +exec foot -s 2>&1 diff --git a/.local/share/s6/kanshi/log/run b/.local/share/s6/kanshi/log/run new file mode 100755 index 0000000..2213d7b --- /dev/null +++ b/.local/share/s6/kanshi/log/run @@ -0,0 +1,3 @@ +#!/bin/execlineb -P +foreground { mkdir -p /var/log/s6/kanshi } +/bin/s6-log -b s1 T /var/log/s6/kanshi diff --git a/.local/share/s6/mako/log/run b/.local/share/s6/mako/log/run new file mode 100755 index 0000000..a36b2b4 --- /dev/null +++ b/.local/share/s6/mako/log/run @@ -0,0 +1,3 @@ +#!/bin/execlineb -P +foreground { mkdir -p /var/log/s6/mako } +/bin/s6-log -b s1 T /var/log/s6/mako diff --git a/.local/share/s6/mako/run b/.local/share/s6/mako/run index bf020a8..22177d3 100755 --- a/.local/share/s6/mako/run +++ b/.local/share/s6/mako/run @@ -1,2 +1,2 @@ -#!/bin/execlineb -P -mako +#!/bin/sh +exec /usr/bin/mako 2>&1 diff --git a/.local/share/s6/oguri/log/run b/.local/share/s6/oguri/log/run new file mode 100755 index 0000000..97be5a9 --- /dev/null +++ b/.local/share/s6/oguri/log/run @@ -0,0 +1,3 @@ +#!/bin/execlineb -P +foreground { mkdir -p /var/log/s6/oguri } +/bin/s6-log -b s1 T /var/log/s6/oguri diff --git a/.local/share/s6/oguri/run b/.local/share/s6/oguri/run index 3d0c440..0d5493b 100755 --- a/.local/share/s6/oguri/run +++ b/.local/share/s6/oguri/run @@ -1,2 +1,2 @@ -#!/bin/execlineb -P -oguri +#!/bin/sh +exec oguri 2>&1 diff --git a/.local/share/s6/pipewire/log/run b/.local/share/s6/pipewire/log/run new file mode 100755 index 0000000..fd06779 --- /dev/null +++ b/.local/share/s6/pipewire/log/run @@ -0,0 +1,3 @@ +#!/bin/execlineb -P +foreground { mkdir -p /var/log/s6/pipewire } +/bin/s6-log -b s1 T /var/log/s6/pipewire diff --git a/.local/share/s6/pipewire/run b/.local/share/s6/pipewire/run index ff50c2a..2aaa13a 100755 --- a/.local/share/s6/pipewire/run +++ b/.local/share/s6/pipewire/run @@ -1,2 +1,2 @@ -#!/bin/execlineb -P -gentoo-pipewire-launcher +#!/bin/sh +exec gentoo-pipewire-launcher 2>&1 diff --git a/.local/share/s6/swayidle/log/run b/.local/share/s6/swayidle/log/run new file mode 100755 index 0000000..3b21bc0 --- /dev/null +++ b/.local/share/s6/swayidle/log/run @@ -0,0 +1,3 @@ +#!/bin/execlineb -P +foreground { mkdir -p /var/log/s6/swayidle } +/bin/s6-log -b s1 T /var/log/s6/swayidle diff --git a/.local/share/s6/swayidle/run b/.local/share/s6/swayidle/run index 48345ba..6a8a6a2 100755 --- a/.local/share/s6/swayidle/run +++ b/.local/share/s6/swayidle/run @@ -1,7 +1,7 @@ -#!/bin/execlineb -P -swayidle -w -S seat0 \ +#!/bin/sh +exec swayidle -w -S seat0 \ timeout 540 'lock' \ timeout 800 'swaymsg output \* dpms off' \ resume 'swaymsg output \* dpms on' \ before-sleep 'lock' \ - lock 'lock' + lock 'lock' 2>&1 diff --git a/.local/share/s6/waybar/log/run b/.local/share/s6/waybar/log/run new file mode 100755 index 0000000..c022752 --- /dev/null +++ b/.local/share/s6/waybar/log/run @@ -0,0 +1,3 @@ +#!/bin/execlineb -P +foreground { mkdir -p /var/log/s6/waybar } +/bin/s6-log -b s1 T /var/log/s6/waybar diff --git a/.local/share/s6/waybar/run b/.local/share/s6/waybar/run index e75c7af..e91eba1 100755 --- a/.local/share/s6/waybar/run +++ b/.local/share/s6/waybar/run @@ -1,2 +1,2 @@ -#!/bin/execlineb -P -waybar +#!/bin/sh +exec waybar 2>&1 diff --git a/.local/share/s6/wlsunset/log/run b/.local/share/s6/wlsunset/log/run new file mode 100755 index 0000000..bf6bd01 --- /dev/null +++ b/.local/share/s6/wlsunset/log/run @@ -0,0 +1,3 @@ +#!/bin/execlineb -P +foreground { mkdir -p /var/log/s6/wlsunset } +/bin/s6-log -b s1 T /var/log/s6/wlsunset diff --git a/.local/share/s6/wlsunset/run b/.local/share/s6/wlsunset/run index 63aaea4..095b4da 100755 --- a/.local/share/s6/wlsunset/run +++ b/.local/share/s6/wlsunset/run @@ -1,2 +1,2 @@ -#!/bin/execlineb -P -wlsunset -l $HOME_LAT -L $HOME_LON -H $HOME/bin/darkmode +#!/bin/sh +exec wlsunset -l $HOME_LAT -L $HOME_LON -H $HOME/bin/darkmode 2>&1 |