diff --git a/barrierc/run b/barrierc/run index 4d2b4ce..f79b3ca 100755 --- a/barrierc/run +++ b/barrierc/run @@ -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) diff --git a/barriers/run b/barriers/run index a624eec..7a496ae 100755 --- a/barriers/run +++ b/barriers/run @@ -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 diff --git a/blueman-applet/run b/blueman-applet/run index a321819..8818340 100755 --- a/blueman-applet/run +++ b/blueman-applet/run @@ -1,2 +1,4 @@ #!/bin/zsh + +exec 2>&1 exec blueman-applet diff --git a/kdeconnect/run b/kdeconnect/run index 5e803cf..064d34d 100755 --- a/kdeconnect/run +++ b/kdeconnect/run @@ -4,4 +4,6 @@ if ! pgrep -x awesome; then exit 1 fi export DISPLAY=:0 + +exec 2>&1 exec kdeconnect-indicator diff --git a/mpd/run b/mpd/run index a3b2dce..6385f6a 100755 --- a/mpd/run +++ b/mpd/run @@ -1,2 +1,4 @@ #!/bin/sh + +exec 2>&1 exec mpd --no-daemon diff --git a/new-service b/new-service index e86ffd3..9181496 100755 --- a/new-service +++ b/new-service @@ -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 diff --git a/onboard/run b/onboard/run index 6608607..ab94251 100755 --- a/onboard/run +++ b/onboard/run @@ -1,2 +1,4 @@ #!/bin/zsh + +exec 2>&1 exec onboard diff --git a/picom/run b/picom/run index 43562fd..7950fbb 100755 --- a/picom/run +++ b/picom/run @@ -1,4 +1,6 @@ #!/bin/zsh source ${0:A:h:h}/import-env.zsh import-env awesome || exit 1 + +exec 2>&1 exec picom diff --git a/pipewire-pulse/run b/pipewire-pulse/run index 0639468..4d3fb09 100755 --- a/pipewire-pulse/run +++ b/pipewire-pulse/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec pipewire-pulse diff --git a/polkit-auth-agent/run b/polkit-auth-agent/run index 0c30af3..3e54f0c 100755 --- a/polkit-auth-agent/run +++ b/polkit-auth-agent/run @@ -1,2 +1,4 @@ #!/bin/zsh + +exec 2>&1 exec /usr/libexec/polkit-gnome-authentication-agent-1 diff --git a/pueued/run b/pueued/run index 54d21f7..2a0a3b8 100755 --- a/pueued/run +++ b/pueued/run @@ -1,2 +1,4 @@ #!/bin/sh + +exec 2>&1 exec pueued diff --git a/redshift/run b/redshift/run index c7a991b..92a0274 100755 --- a/redshift/run +++ b/redshift/run @@ -5,4 +5,5 @@ if ! pidof awesome; then exit fi +exec 2>&1 exec redshift-gtk diff --git a/syncthing/run b/syncthing/run index 3afaa0c..d68c3df 100755 --- a/syncthing/run +++ b/syncthing/run @@ -5,4 +5,3 @@ export HOME="/home/$USERNAME" exec 2>&1 exec syncthing -logflags 0 - diff --git a/synergys/run b/synergys/run index 5bf38f1..9639002 100755 --- a/synergys/run +++ b/synergys/run @@ -1,3 +1,4 @@ #!/bin/sh env > /tmp/env.synergys + exec synergys --enable-crypto --config /home/crater2150/.synergy.conf -f 2>&1 diff --git a/taralli/run b/taralli/run index 2bb03d2..73ed6d5 100755 --- a/taralli/run +++ b/taralli/run @@ -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 diff --git a/touchegg/run b/touchegg/run index 69eee15..78a7d5f 100755 --- a/touchegg/run +++ b/touchegg/run @@ -1,2 +1,3 @@ #!/bin/zsh +exec 2>&1 exec touchegg diff --git a/udiskie/run b/udiskie/run index 566b1e6..d6fdbc1 100755 --- a/udiskie/run +++ b/udiskie/run @@ -1,2 +1,3 @@ #!/bin/zsh +exec 2>&1 exec udiskie -ant diff --git a/xiccd/run b/xiccd/run index 8cad143..9182c2b 100755 --- a/xiccd/run +++ b/xiccd/run @@ -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 diff --git a/xss-lock/run b/xss-lock/run index 156f7a4..cdfb355 100755 --- a/xss-lock/run +++ b/xss-lock/run @@ -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