From e0f2ec8a98ec6d3adec28e737c515c9dab550e4b Mon Sep 17 00:00:00 2001 From: shmibs Date: Wed, 16 Jul 2014 21:58:49 -0700 Subject: make dunst pull theme dynamically i was too lazy to bother trying dunst --help, apparently --- .config/dunst/dunstrc | 7 ------- .config/herbstluftwm/autostart | 7 ++++++- .config/herbstluftwm/config_vars | 17 ++++++++++++++++- .config/nitrogen/bg-saved.cfg | 2 +- 4 files changed, 23 insertions(+), 10 deletions(-) (limited to '.config') diff --git a/.config/dunst/dunstrc b/.config/dunst/dunstrc index c3af307..749ebed 100644 --- a/.config/dunst/dunstrc +++ b/.config/dunst/dunstrc @@ -125,7 +125,6 @@ [frame] width = 1 - color = "#00aad4" [shortcuts] # shortcuts are specified as [modifier+][modifier+]...key @@ -142,18 +141,12 @@ [urgency_low] # IMPORTANT: colors have to be defined in quotation marks. # Otherwise the '#' and following would be interpreted as a comment. - background = "#333333" - foreground = "#dcdcdc" timeout = 10 [urgency_normal] - background = "#333333" - foreground = "#fcfcfc" timeout = 10 [urgency_critical] - background = "#00aad4" - foreground = "#fcfcfc" timeout = 0 diff --git a/.config/herbstluftwm/autostart b/.config/herbstluftwm/autostart index 0a2b1c7..787b821 100755 --- a/.config/herbstluftwm/autostart +++ b/.config/herbstluftwm/autostart @@ -197,5 +197,10 @@ done # add a tray tray=~/.config/herbstluftwm/tray.sh if [ -x "$tray" ]; then - "$tray" + "$tray" & fi + +# run dunst with theme colours +dunst -lb $bg_normal -nb $bg_normal -cb $bg_focus \ + -lf $fg_normal -nf $fg_normal -cf $fg_focus \ + -frame_color $bg_focus diff --git a/.config/herbstluftwm/config_vars b/.config/herbstluftwm/config_vars index 4704733..409d586 100755 --- a/.config/herbstluftwm/config_vars +++ b/.config/herbstluftwm/config_vars @@ -1,8 +1,23 @@ #!/bin/bash +## arch blue +#bg_normal='#333333' +#fg_normal='#efefef' +#bg_focus='#00aad4' +#fg_focus='#efefef' +#bg_urgent='#ff4070' +#fg_urgent='#efefef' +# +#fg_grey='#ababab' +#fg_red='#ff6699' +#fg_green='#d5f85f' +#fg_yellow='#ffa466' +#fg_blue='#00aad4' + +## section 9 bg_normal='#333333' fg_normal='#efefef' -bg_focus='#00aad4' +bg_focus='#714BA7' fg_focus='#efefef' bg_urgent='#ff4070' fg_urgent='#efefef' diff --git a/.config/nitrogen/bg-saved.cfg b/.config/nitrogen/bg-saved.cfg index 6d9b06a..396d362 100644 --- a/.config/nitrogen/bg-saved.cfg +++ b/.config/nitrogen/bg-saved.cfg @@ -1,4 +1,4 @@ [:0.0] -file=/home/shmibs/backdrops/shadowed/arch-sloppity.png +file=/home/shmibs/backdrops/shadowed/gits-city.jpg mode=5 bgcolor=#000000 -- cgit v1.2.3