Xresources: Unify bg color naming, Polybar: Tweak volume module

This commit is contained in:
Salt 2017-08-24 16:55:47 -05:00
parent 181b228438
commit b4335f33e5
3 changed files with 11 additions and 12 deletions

View File

@ -32,15 +32,13 @@ rofi.width: 30
! hard contrast:
*background: #1d2021
! medium contrast
*background_med: #282828
! soft contrast
*background_soft: #32302f
*bg2: #504945
*bg3: #665c54
*bg2: #282828
*bg3: #32302f
*bg4: #504945
*bg5: #665c54
*foreground: #ebdbb2
! Black + DarkGrey
*color0: #282828
*color8: #928374

View File

@ -18,8 +18,8 @@ gaps outer 0
# Note: fallbacks are copied from gruvbox-dark
# Source: https://github.com/morhetz/gruvbox-generalized
set_from_resource $bg background #1d2021
set_from_resource $bgm background_med #282828
set_from_resource $bg_soft background_soft #32302f
set_from_resource $bgm bg2 #282828
set_from_resource $bg_soft bg3 #32302f
set_from_resource $black color0 #282828
set_from_resource $red color1 #cc241d
set_from_resource $green color2 #98971a

View File

@ -22,10 +22,11 @@ resource-good-dark = ${xrdb:color2:#98971a}
resource-good = ${xrdb:color10:#b8bb26}
background = ${xrdb:background:#1d2021}
background-med = ${xrdb:bg1:#282828}
background-soft = ${xrdb:bg2:#504945}
background-med = ${xrdb:bg3:#282828}
background-soft = ${xrdb:bg4:#504945}
foreground = ${xrdb:color15:#ebdbb2}
foreground-alt = ${xrdb:color8:#928374}
foreground-soft =
[res/fonts]
#font-0 = "DejaVu Sans:size=10;1"
@ -557,7 +558,7 @@ label-volume = %percentage%%
label-volume-padding = 0
label-volume-foreground = ${res/colors.foreground}
label-volume-background = ${res/colors.background}
label-muted = 
label-muted =  %percentage%%
label-muted-padding = ${self.label-volume-padding}
label-muted-foreground = ${res/colors.background-soft}
label-muted-background = ${res/colors.background}