gruvbox conversion total

This commit is contained in:
Luke Smith 2018-12-02 20:33:38 -05:00
parent 5575c67ef4
commit c22a8e838f
3 changed files with 15 additions and 19 deletions

View file

@ -10,7 +10,7 @@
padding = 0 padding = 0
horizontal_padding = 8 horizontal_padding = 8
frame_width = 3 frame_width = 3
frame_color = "#333300" frame_color = "#282828"
# Define a color for the separator. # Define a color for the separator.
# possible values are: # possible values are:
@ -50,7 +50,7 @@
show_indicators = yes show_indicators = yes
icon_position = left icon_position = left
max_icon_size = 40 max_icon_size = 40
icon_path = /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/:/usr/share/icons/Adwaita/256x256/status/ #icon_path = /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/:/usr/share/icons/Adwaita/256x256/status/
sticky_history = yes sticky_history = yes
history_length = 20 history_length = 20
dmenu = /usr/bin/dmenu -p dunst: dmenu = /usr/bin/dmenu -p dunst:
@ -75,26 +75,22 @@
[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 = "#282828"
foreground = "#888888" foreground = "#928374"
timeout = 5 timeout = 5
# Icon for notifications with low urgency, uncomment to enable # Icon for notifications with low urgency, uncomment to enable
#icon = /path/to/icon #icon = /path/to/icon
[urgency_normal] [urgency_normal]
background = "#285577" background = "#458588"
foreground = "#ffffff" foreground = "#ebdbb2"
timeout = 5 timeout = 5
# Icon for notifications with normal urgency, uncomment to enable
#icon = /path/to/icon
[urgency_critical] [urgency_critical]
background = "#900000" background = "#cc2421"
foreground = "#ffffff" foreground = "#ebdbb2"
frame_color = "#ff0000" frame_color = "#fabd2f"
timeout = 0 timeout = 0
# Icon for notifications with critical urgency, uncomment to enable
#icon = /path/to/icon
# Every section that isn't one of the above is interpreted as a rules to # Every section that isn't one of the above is interpreted as a rules to
# override settings for certain messages. # override settings for certain messages.

View file

@ -2,7 +2,7 @@
# Any customization should be done in ~/.gtkrc-2.0.mine instead. # Any customization should be done in ~/.gtkrc-2.0.mine instead.
include "/home/luke/.gtkrc-2.0.mine" include "/home/luke/.gtkrc-2.0.mine"
gtk-theme-name="Adwaita-dark" gtk-theme-name="Arc-Gruvbox"
gtk-icon-theme-name="Adwaita" gtk-icon-theme-name="Adwaita"
gtk-font-name="Sans 10" gtk-font-name="Sans 10"
gtk-cursor-theme-name="Adwaita" gtk-cursor-theme-name="Adwaita"

View file

@ -15,15 +15,15 @@ capacity=$(cat /sys/class/power_supply/"$1"/capacity) || exit
status=$(cat /sys/class/power_supply/"$1"/status) status=$(cat /sys/class/power_supply/"$1"/status)
if [ "$capacity" -ge 80 ]; then if [ "$capacity" -ge 80 ]; then
color="#00FF00" color="#b8bb26"
elif [ "$capacity" -ge 60 ]; then elif [ "$capacity" -ge 60 ]; then
color="#FFFFFF" color="#ebdbb2"
elif [ "$capacity" -ge 40 ]; then elif [ "$capacity" -ge 40 ]; then
color="#FFF600" color="#fabd2f"
elif [ "$capacity" -ge 20 ]; then elif [ "$capacity" -ge 20 ]; then
color="#FFAE00" color="#fe8019"
else else
color="#FF0000" color="#fb4934"
warn="❗" warn="❗"
fi fi