added colors to dunst, i3status

This commit is contained in:
Tobias Schmidl 2013-10-24 09:50:38 +02:00
parent 5c7558a313
commit e560fc742d
2 changed files with 35 additions and 19 deletions

24
dunstrc
View file

@ -1,5 +1,5 @@
[global] [global]
font = Source Code Pro 9 font = Source Code Pro 8
# allow a small subset of html markup: # allow a small subset of html markup:
# <b>bold</b> # <b>bold</b>
@ -124,8 +124,8 @@
browser = /usr/bin/x-www-browser -new-tab browser = /usr/bin/x-www-browser -new-tab
[frame] [frame]
width = 3 width = 1
color = "#aaaaaa" color = "#fdf6e3"
[shortcuts] [shortcuts]
# shortcuts are specified as [modifier+][modifier+]...key # shortcuts are specified as [modifier+][modifier+]...key
@ -149,18 +149,24 @@
[urgency_low] [urgency_low]
# IMPORTANT: colors have to be defined in quotation marks. # IMPORTANT: colors have to be defined in quotation marks.
# Otherwise the '#' and following would be interpreted as a comment. # Otherwise the '#' and following would be interpreted as a comment.
background = "#222222" # Background is S_base03
foreground = "#888888" background = "#002b36"
# Foreground is S_base0
foreground = "#839496"
timeout = 2 timeout = 2
[urgency_normal] [urgency_normal]
background = "#285577" # Background is S_base03
foreground = "#ffffff" background = "#002b36"
# Foreground is S_base3
foreground = "#fdf6e3"
timeout = 5 timeout = 5
[urgency_critical] [urgency_critical]
background = "#900000" # Background is S_red
foreground = "#ffffff" background = "#dc322f"
# Foreground is S_base03
foreground = "#002b36"
timeout = 0 timeout = 0

View file

@ -1,6 +1,16 @@
general { general {
colors = true colors = true
interval = 5
# Good is S_cyan
color_good = "#2aa198"
# Degraded is S_green
color_degraded = "#859900"
# Bad is S_red
color_bad ="#dc322f"
interval = 5
} }
#order += "ipv6" #order += "ipv6"
@ -17,19 +27,19 @@ order += "load"
order += "time" order += "time"
wireless wlan0 { wireless wlan0 {
format_up = "W: (%quality at %essid) %ip" format_up = "W: (%quality at %essid) %ip"
format_down = "W: down" format_down = "W: down"
} }
ethernet eth0 { ethernet eth0 {
# if you use %speed, i3status requires root privileges # if you use %speed, i3status requires root privileges
format_up = "E: %ip (%speed)" format_up = "E: %ip (%speed)"
format_down = "E: down" format_down = "E: down"
} }
battery 0 { battery 0 {
format = "%status %percentage %remaining" format = "%status %percentage %remaining"
path = "/sys/class/power_supply/CMB1/uevent" path = "/sys/class/power_supply/CMB1/uevent"
} }
battery 1 { battery 1 {
@ -38,11 +48,11 @@ battery 1 {
} }
run_watch DHCP { run_watch DHCP {
pidfile = "/var/run/dhclient*.pid" pidfile = "/var/run/dhclient*.pid"
} }
run_watch VPN { run_watch VPN {
pidfile = "/var/run/vpnc/pid" pidfile = "/var/run/vpnc/pid"
} }
time { time {