Files
hlwm-config/autostart
2018-04-03 23:17:34 +02:00

42 lines
758 B
Bash
Executable File

#!/bin/sh
hc=herbstclient
CFGDIR=$HOME/.config/herbstluftwm
# kill old instances, perhaps I should do this with pids?
pkill dzen2
pkill lemonbar
pkill stalonetray
pkill conky
pkill urxvtd
pkill udiskie
hc emit_hook reload
${CFGDIR}/bindings.sh
${CFGDIR}/rules.sh
${CFGDIR}/styling.sh
$hc set tree_style '╾│ ├└╼─┐'
$hc unlock
$hc detect_monitors
panel_height=20
statusbar_height=20
for monitor in $(herbstclient list_monitors | cut -d: -f1) ; do
# start it on each monitor
$hc pad $monitor $panel_height 0 $statusbar_height 0
${CFGDIR}/panel.sh $monitor &
${CFGDIR}/statusbar.sh $monitor &
done
${CFGDIR}/tray.sh &
urxvtd &
udiskie --tray &
systemctl --user restart sxhkd
systemctl --user restart xautolock
wmname LG3D