summaryrefslogtreecommitdiff
path: root/herbstluftwm/autostart
diff options
context:
space:
mode:
Diffstat (limited to 'herbstluftwm/autostart')
-rwxr-xr-xherbstluftwm/autostart21
1 files changed, 10 insertions, 11 deletions
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'