From f852bfd75bec7e53febeb3e753fce5752b423d97 Mon Sep 17 00:00:00 2001 From: Matias Linares Date: Tue, 3 Nov 2015 00:17:53 -0300 Subject: Update herbstluftwm --- herbstluftwm/autostart | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) (limited to 'herbstluftwm/autostart') diff --git a/herbstluftwm/autostart b/herbstluftwm/autostart index 444d17a..89842c6 100755 --- a/herbstluftwm/autostart +++ b/herbstluftwm/autostart @@ -10,15 +10,13 @@ hc() { cmd+=(, $@) } -mvrs() { - ~/.config/herbstluftwm/mvrs.sh $1 $2 -} +source ${HOME}/.config/herbstluftwm/fn.sh hc emit_hook reload # Some autostart configuration nitrogen --restore & -#compton -b +mpd # remove all existing keybindings hc keyunbind --all @@ -33,8 +31,9 @@ hc keybind $Mod-Shift-r reload hc keybind $Mod-Shift-c close #hc keybind $Mod-Return spawn st hc keybind $Mod-Return spawn xterm -#hc keybind $Mod-p spawn dmenu_run -b -p $(hostname) -nb "#010101" -hc keybind $Mod-p spawn rofi -show run +hc keybind $Mod-p spawn ${HOME}/.config/herbstluftwm/bin/dmenu_wrapper +# Have better unicode support +hc keybind $Mod-n spawn gvim ~/.notes # basic movement # focusing clients @@ -58,10 +57,10 @@ hc keybind $Mod-Control-space split explode # resizing frames resizestep=0.02 -hc keybind $Mod-Control-h spawn ~/.config/herbstluftwm/mvrs.sh left +$resizestep -hc keybind $Mod-Control-j spawn ~/.config/herbstluftwm/mvrs.sh down +$resizestep -hc keybind $Mod-Control-k spawn ~/.config/herbstluftwm/mvrs.sh up +$resizestep -hc keybind $Mod-Control-l spawn ~/.config/herbstluftwm/mvrs.sh right +$resizestep +hc keybind $Mod-Control-h spawn ~/.config/herbstluftwm/bin/mvrs.sh left +$resizestep +hc keybind $Mod-Control-j spawn ~/.config/herbstluftwm/bin/mvrs.sh down +$resizestep +hc keybind $Mod-Control-k spawn ~/.config/herbstluftwm/bin/mvrs.sh up +$resizestep +hc keybind $Mod-Control-l spawn ~/.config/herbstluftwm/bin/mvrs.sh right +$resizestep hc keybind $Mod-Control-Left resize left +$resizestep hc keybind $Mod-Control-Down resize down +$resizestep hc keybind $Mod-Control-Up resize up +$resizestep @@ -133,7 +132,7 @@ hc set frame_bg_active_color '#151515' hc set frame_border_width 0 hc set window_border_width 2 hc set window_border_normal_color '#3a3a3a' -hc set window_border_active_color '#cc342b' +hc set window_border_active_color "$(xrdb -q | grep color4 | awk '{ print $2; }')" #hc attr theme.active.color '#9E003A' #hc attr theme.normal.color '#252525' -- cgit v1.2.3-70-g09d2