couple of changes 😓

This commit is contained in:
Thomas Ruoff
2021-11-28 23:49:31 +01:00
parent 662fa3f5b1
commit c0af622d2b
8 changed files with 27 additions and 21 deletions

View File

@@ -1,5 +1,5 @@
#!/usr/bin/env bash
exec 2>&1 > >(tee -i /tmp/hlwm-autostart.log)
exec 2>&1 >> >(tee -i /tmp/hlwm-autostart.log)
PIDS_FILE=/tmp/hlwm-autostart-pids
@@ -15,8 +15,7 @@ cd $(dirname $0)
source ./gruvbox_colors.sh
OLD_PIDS=$(cat $PIDS_FILE)
kill $(echo $OLD_PIDS)
cat $PIDS_FILE | xargs kill
rm $PIDS_FILE
hc emit_hook reload
@@ -43,11 +42,8 @@ for monitor in $(hc list_monitors | cut -d: -f1) ; do
./statusbar.sh $monitor & store_pid
done
./tray.sh & store_pid
udiskie --tray & store_pid
systemctl --user restart sxhkd
systemctl --user restart xautolock
systemctl --user restart battery-warning.timer
wmname LG3D
systemctl --user restart hlwm-session.target
#systemctl --user restart battery-warning.timer