fix hc alias - add bapyrus

This commit is contained in:
Thomas Ruoff
2018-07-29 23:59:03 +02:00
parent ed3d2e04b9
commit ca57483a78
7 changed files with 83 additions and 250 deletions

View File

@@ -1,5 +1,4 @@
#!/bin/sh
hc=herbstclient
#!/usr/bin/env bash
CFGDIR=$HOME/.config/herbstluftwm
@@ -11,22 +10,22 @@ pkill conky
pkill urxvtd
pkill udiskie
hc emit_hook reload
herbstclient emit_hook reload
${CFGDIR}/bindings.sh
${CFGDIR}/rules.sh
${CFGDIR}/styling.sh
$hc set tree_style '╾│ ├└╼─┐'
$hc unlock
$hc detect_monitors
herbstclient set tree_style '╾│ ├└╼─┐'
herbstclient unlock
herbstclient 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
herbstclient pad $monitor $panel_height 0 $statusbar_height 0
${CFGDIR}/panel.sh $monitor &
${CFGDIR}/statusbar.sh $monitor &
done