Change some colors
This commit is contained in:
parent
769062e548
commit
4c2c83f1c2
3 changed files with 15 additions and 6 deletions
|
@ -32,12 +32,20 @@
|
||||||
(string-append "Shift-" name)
|
(string-append "Shift-" name)
|
||||||
(string-append "move " name)))
|
(string-append "move " name)))
|
||||||
|
|
||||||
|
(define (dmenu-command fn nb nf)
|
||||||
|
(string-append "dmenu_run -fn '" fn "' -nb '" nb "' -nf '" nf "'"))
|
||||||
|
|
||||||
;; keybindings
|
;; keybindings
|
||||||
(keybind modkey "Mod1-q" "quit")
|
(keybind modkey "Mod1-q" "quit")
|
||||||
(keybind modkey "Mod1-r" "reload")
|
(keybind modkey "Mod1-r" "reload")
|
||||||
(keybind modkey "Shift-c" "close")
|
(keybind modkey "Shift-c" "close")
|
||||||
(keybind modkey "Return" "spawn urxvt")
|
(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
|
;; tags
|
||||||
(hc "rename default q")
|
(hc "rename default q")
|
||||||
|
|
|
@ -11,8 +11,8 @@ x=${geometry[0]}
|
||||||
y=${geometry[1]}
|
y=${geometry[1]}
|
||||||
width=${geometry[2]}
|
width=${geometry[2]}
|
||||||
height=16
|
height=16
|
||||||
font="-*-fixed-medium-*-*-*-12-*-*-*-*-*-*-*"
|
font="-misc-dejavu sans mono-medium-r-*-*-10-*-*-*-*-*-*-*"
|
||||||
bgcolor='#3E2600'
|
bgcolor='#252a2b'
|
||||||
|
|
||||||
function uniq_linebuffered() {
|
function uniq_linebuffered() {
|
||||||
awk '$0 != l { print ; l=$0 ; fflush(); }' "$@"
|
awk '$0 != l { print ; l=$0 ; fflush(); }' "$@"
|
||||||
|
@ -23,7 +23,7 @@ herbstclient pad $monitor $height
|
||||||
# events:
|
# events:
|
||||||
#mpc idleloop player &
|
#mpc idleloop player &
|
||||||
while true ; do
|
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
|
sleep 1 || break
|
||||||
done > >(uniq_linebuffered) &
|
done > >(uniq_linebuffered) &
|
||||||
childpid=$!
|
childpid=$!
|
||||||
|
@ -91,4 +91,4 @@ herbstclient pad $monitor $height
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
} 2> /dev/null | dzen2 -w $width -x $x -y $y -fn "$font" -h $height \
|
} 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'
|
||||||
|
|
3
.xinitrc
3
.xinitrc
|
@ -18,7 +18,8 @@ then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# -----[ Start notifier ]---------------------------------------------
|
# -----[ Start notifier ]---------------------------------------------
|
||||||
/usr/bin/dunst &
|
/usr/bin/dunst -fn "-misc-dejavu sans mono-medium-r-*-*-10-*-*-*-*-*-*-*" \
|
||||||
|
-nb "#252a2b" -nf "#eeeeec" &
|
||||||
|
|
||||||
# -----[ Start session ]----------------------------------------------
|
# -----[ Start session ]----------------------------------------------
|
||||||
exec ck-launch-session /usr/bin/herbstluftwm 2>&1 > ~/.xsession_errors
|
exec ck-launch-session /usr/bin/herbstluftwm 2>&1 > ~/.xsession_errors
|
||||||
|
|
Loading…
Reference in a new issue