mirror of
https://github.com/tomru/hlwm-config.git
synced 2026-03-04 06:57:22 +01:00
couple of changes 😓
This commit is contained in:
16
autostart
16
autostart
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user