mirror of
https://github.com/tomru/hlwm-config.git
synced 2026-03-03 06:27:20 +01:00
"initial" commit :D
This commit is contained in:
41
autostart
Executable file
41
autostart
Executable file
@@ -0,0 +1,41 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user