summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2011-11-17 13:40:36 +0100
committerGravatar Tom Willemsen2011-11-17 13:40:36 +0100
commit4c2c83f1c29947cc88243db41a1708dbdc28556f (patch)
treef2996c26961ce5989fec7b98d2ca8726d797c37a
parent769062e548eba1b847a9fd1e87a698fe6fadcd01 (diff)
downloaddotfiles-4c2c83f1c29947cc88243db41a1708dbdc28556f.tar.gz
dotfiles-4c2c83f1c29947cc88243db41a1708dbdc28556f.zip
Change some colors
-rwxr-xr-x.config/herbstluftwm/autostart10
-rwxr-xr-x.config/herbstluftwm/panel.sh8
-rw-r--r--.xinitrc3
3 files changed, 15 insertions, 6 deletions
diff --git a/.config/herbstluftwm/autostart b/.config/herbstluftwm/autostart
index eb12d12..709fe59 100755
--- a/.config/herbstluftwm/autostart
+++ b/.config/herbstluftwm/autostart
@@ -32,12 +32,20 @@
(string-append "Shift-" name)
(string-append "move " name)))
+(define (dmenu-command fn nb nf)
+ (string-append "dmenu_run -fn '" fn "' -nb '" nb "' -nf '" nf "'"))
+
;; keybindings
(keybind modkey "Mod1-q" "quit")
(keybind modkey "Mod1-r" "reload")
(keybind modkey "Shift-c" "close")
(keybind modkey "Return" "spawn urxvt")
-(keybind modkey "r" "spawn dmenu_run")
+(keybind modkey "r"
+ (string-append
+ "spawn "
+ (dmenu-command
+ "-misc-dejavu sans mono-medium-r-*-*-10-*-*-*-*-*-*-*"
+ "#252a2b" "#eeeeec")))
;; tags
(hc "rename default q")
diff --git a/.config/herbstluftwm/panel.sh b/.config/herbstluftwm/panel.sh
index 1b11845..ac83e17 100755
--- a/.config/herbstluftwm/panel.sh
+++ b/.config/herbstluftwm/panel.sh
@@ -11,8 +11,8 @@ x=${geometry[0]}
y=${geometry[1]}
width=${geometry[2]}
height=16
-font="-*-fixed-medium-*-*-*-12-*-*-*-*-*-*-*"
-bgcolor='#3E2600'
+font="-misc-dejavu sans mono-medium-r-*-*-10-*-*-*-*-*-*-*"
+bgcolor='#252a2b'
function uniq_linebuffered() {
awk '$0 != l { print ; l=$0 ; fflush(); }' "$@"
@@ -23,7 +23,7 @@ herbstclient pad $monitor $height
# events:
#mpc idleloop player &
while true ; do
- date +'date ^fg(#efefef)%H:%M^fg(#909090), %Y-%m-^fg(#efefef)%d'
+ date +'date ^fg(#eeeeec)%H:%M^fg(#909090), %Y-%m-^fg(#eeeeec)%d'
sleep 1 || break
done > >(uniq_linebuffered) &
childpid=$!
@@ -91,4 +91,4 @@ herbstclient pad $monitor $height
esac
done
} 2> /dev/null | dzen2 -w $width -x $x -y $y -fn "$font" -h $height \
- -ta l -bg "$bgcolor" -fg '#efefef'
+ -ta l -bg "$bgcolor" -fg '#eeeeec'
diff --git a/.xinitrc b/.xinitrc
index d1e8b2e..0504353 100644
--- a/.xinitrc
+++ b/.xinitrc
@@ -18,7 +18,8 @@ then
fi
# -----[ Start notifier ]---------------------------------------------
-/usr/bin/dunst &
+/usr/bin/dunst -fn "-misc-dejavu sans mono-medium-r-*-*-10-*-*-*-*-*-*-*" \
+ -nb "#252a2b" -nf "#eeeeec" &
# -----[ Start session ]----------------------------------------------
exec ck-launch-session /usr/bin/herbstluftwm 2>&1 > ~/.xsession_errors