aboutsummaryrefslogtreecommitdiff
path: root/herbstluftwm/.config
diff options
context:
space:
mode:
authorxero <x@xero.nu>2015-03-07 20:48:41 -0500
committerxero <x@xero.nu>2015-03-07 20:48:41 -0500
commit627c9813c7c95ea2e3d45de0e44bab4f17e78f51 (patch)
treeee8b71f7dcd7f213bb0b09af8039f0c321fe9bd3 /herbstluftwm/.config
parent5fe35b14052942884351b404296cc683b5982a91 (diff)
downloaddotfiles_ascii-627c9813c7c95ea2e3d45de0e44bab4f17e78f51.tar.xz
dotfiles_ascii-627c9813c7c95ea2e3d45de0e44bab4f17e78f51.zip
fix herbstluftwm gap scripts for window size hints and make more unixy
Diffstat (limited to 'herbstluftwm/.config')
-rwxr-xr-xherbstluftwm/.config/herbstluftwm/autostart9
1 files changed, 5 insertions, 4 deletions
diff --git a/herbstluftwm/.config/herbstluftwm/autostart b/herbstluftwm/.config/herbstluftwm/autostart
index 7d512e2..9f38750 100755
--- a/herbstluftwm/.config/herbstluftwm/autostart
+++ b/herbstluftwm/.config/herbstluftwm/autostart
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
#
# ██ ██ ██ ██ ████ ██
# ░██ ░██ ░██ ░██ ░██░ ░██
@@ -26,7 +26,7 @@ killall stalonetray
killall conky
# gap counter
-echo 30 > /tmp/herbstluftwm-gap
+echo 35 > /tmp/herbstluftwm-gap
# keybindings
Mod=Mod4
@@ -147,7 +147,7 @@ hc attr theme.active.inner_color '#272822'
hc attr theme.active.outer_color '#000000'
hc attr theme.background_color '#141414'
-hc set window_gap 30
+hc set window_gap 35
hc set frame_padding 0
hc set smart_window_surroundings 0
hc set smart_frame_surroundings 1
@@ -178,7 +178,8 @@ hc detect_monitors
#panel=~/.config/herbstluftwm/conkypanel
panel=~/.config/herbstluftwm/panel.sh
[ -x "$panel" ] || panel=/etc/xdg/herbstluftwm/panel.sh
-for monitor in $(herbstclient list_monitors | cut -d: -f1) ; do
+for monitor in $(herbstclient list_monitors | cut -d: -f1)
+do
# start it on each monitor
"$panel" $monitor &
done