Redirect stderr to logs

This commit is contained in:
crater2150 2023-10-24 17:11:15 +02:00
parent 584c900e84
commit ffd832d066
19 changed files with 31 additions and 5 deletions

View file

@ -8,4 +8,6 @@ if [[ ! -e ${0:a:h}/server ]] then
fi
source ${0:a:h:h}/import-env.zsh
import-env awesome || exit 1
exec 2>&1
exec barrierc --no-daemon $(<${0:a:h}/server)

View file

@ -1,4 +1,6 @@
#!/bin/zsh
source ${0:a:h:h}/import-env.zsh
import-env awesome || exit 1
exec 2>&1
exec barriers --no-daemon -c ${XDG_CONFIG_HOME:-$HOME/.config}/Debauchee/home.conf

View file

@ -1,2 +1,4 @@
#!/bin/zsh
exec 2>&1
exec blueman-applet

View file

@ -4,4 +4,6 @@ if ! pgrep -x awesome; then
exit 1
fi
export DISPLAY=:0
exec 2>&1
exec kdeconnect-indicator

View file

@ -1,2 +1,4 @@
#!/bin/sh
exec 2>&1
exec mpd --no-daemon

View file

@ -10,6 +10,7 @@ ln -s ${XDG_RUNTIME_DIR:-/run/user/$UID}/supervise.$1 $1/supervise
echo 'source ${0:a:h:h}/import-env.zsh'
echo "import-env ${importenv[2]} || exit 1"
fi
echo 'exec 2>&1'
echo "exec $*"
} > $1/run
chmod +x $1/run

View file

@ -1,2 +1,4 @@
#!/bin/zsh
exec 2>&1
exec onboard

View file

@ -1,4 +1,6 @@
#!/bin/zsh
source ${0:A:h:h}/import-env.zsh
import-env awesome || exit 1
exec 2>&1
exec picom

View file

@ -1,2 +1,3 @@
#!/bin/sh
exec 2>&1
exec pipewire-pulse

View file

@ -1,2 +1,4 @@
#!/bin/zsh
exec 2>&1
exec /usr/libexec/polkit-gnome-authentication-agent-1

View file

@ -1,2 +1,4 @@
#!/bin/sh
exec 2>&1
exec pueued

View file

@ -5,4 +5,5 @@ if ! pidof awesome; then
exit
fi
exec 2>&1
exec redshift-gtk

View file

@ -5,4 +5,3 @@ export HOME="/home/$USERNAME"
exec 2>&1
exec syncthing -logflags 0

View file

@ -1,3 +1,4 @@
#!/bin/sh
env > /tmp/env.synergys
exec synergys --enable-crypto --config /home/crater2150/.synergy.conf -f 2>&1

View file

@ -2,4 +2,6 @@
export DISPLAY=:0
export XAUTHORITY=/home/crater2150/.Xauthority
if ! pidof awesome; then sleep 5; exit; fi
exec 2>&1
exec /home/crater2150/.local/bin/taralli

View file

@ -1,2 +1,3 @@
#!/bin/zsh
exec 2>&1
exec touchegg

View file

@ -1,2 +1,3 @@
#!/bin/zsh
exec 2>&1
exec udiskie -ant

View file

@ -1,8 +1,7 @@
#!/bin/zsh
if ! pidof awesome; then
sleep 5
exit
fi
source ${0:a:h:h}/import-env.zsh
import-env awesome || exit 1
exec 2>&1
exec xiccd

View file

@ -1,4 +1,6 @@
#!/bin/zsh
source ${0:a:h:h}/import-env.zsh
import-env awesome || exit 1
exec 2>&1
exec xss-lock -l -- xsecurelock-wrapper 2>&1