diff options
Diffstat (limited to 'polybar')
-rwxr-xr-x | polybar/.config/polybar/cmus.sh | 3 | ||||
-rwxr-xr-x | polybar/.config/polybar/config | 22 |
2 files changed, 13 insertions, 12 deletions
diff --git a/polybar/.config/polybar/cmus.sh b/polybar/.config/polybar/cmus.sh index 7917d4c..c425f0b 100755 --- a/polybar/.config/polybar/cmus.sh +++ b/polybar/.config/polybar/cmus.sh | |||
@@ -14,7 +14,8 @@ if [[ $artist = *[!\ ]* ]]; then | |||
14 | duration=$(cmus-remote -C status | grep duration | cut -c 10-) | 14 | duration=$(cmus-remote -C status | grep duration | cut -c 10-) |
15 | minutes2=$(prepend_zero $(($duration / 60))) | 15 | minutes2=$(prepend_zero $(($duration / 60))) |
16 | seconds2=$(prepend_zero $(($duration % 60))) | 16 | seconds2=$(prepend_zero $(($duration % 60))) |
17 | echo -n "$artist - $song [$minutes1:$seconds1/$minutes2:$seconds2]" | 17 | # echo -n "$artist - $song [$minutes1:$seconds1/$minutes2:$seconds2]" |
18 | echo -n "$song [$minutes1:$seconds1/$minutes2:$seconds2]" | ||
18 | else | 19 | else |
19 | echo | 20 | echo |
20 | fi | 21 | fi |
diff --git a/polybar/.config/polybar/config b/polybar/.config/polybar/config index 5d9462d..0ad7cf4 100755 --- a/polybar/.config/polybar/config +++ b/polybar/.config/polybar/config | |||
@@ -2,11 +2,11 @@ | |||
2 | screenchange-reload = true | 2 | screenchange-reload = true |
3 | 3 | ||
4 | [colors] | 4 | [colors] |
5 | #background = ${xrdb:color0:#222} | 5 | ;background = ${xrdb:background:#060808} |
6 | background = ${xrdb:background:#060808} | 6 | background = #00000000 |
7 | background-alt = ${xrdb:color0:#000} | 7 | background-alt = ${xrdb:color0:#000} |
8 | ;foreground = ${xrdb:color7:#222} | 8 | ;foreground = ${xrdb:foreground:#c5c8c6} |
9 | foreground = ${xrdb:foreground:#c5c8c6} | 9 | foreground = #5e5c5c |
10 | foreground-alt = ${xrdb:colorBD:#444} | 10 | foreground-alt = ${xrdb:colorBD:#444} |
11 | primary = ${xrdb:color4:#ffb52a} | 11 | primary = ${xrdb:color4:#ffb52a} |
12 | secondary = ${xrdb:color3:#e60053} | 12 | secondary = ${xrdb:color3:#e60053} |
@@ -111,14 +111,14 @@ type = internal/date | |||
111 | interval = 1.0 | 111 | interval = 1.0 |
112 | date = %I:%M %p | 112 | date = %I:%M %p |
113 | label = %date% | 113 | label = %date% |
114 | label-foreground = #565e65 | 114 | label-foreground = #EEFFFF |
115 | format = time <label> | 115 | format = time <label> |
116 | 116 | ||
117 | [module/date] | 117 | [module/date] |
118 | type = internal/date | 118 | type = internal/date |
119 | date = %a, %d %b | 119 | date = %a, %d %b |
120 | label = %date% | 120 | label = %date% |
121 | label-foreground = #565e65 | 121 | label-foreground = #EEFFFF |
122 | format= date <label> | 122 | format= date <label> |
123 | 123 | ||
124 | [module/battery] | 124 | [module/battery] |
@@ -128,11 +128,11 @@ adapter = ADP1 | |||
128 | poll-interval = 1 | 128 | poll-interval = 1 |
129 | ;full-at = 98 | 129 | ;full-at = 98 |
130 | label-discharging = %percentage%% | 130 | label-discharging = %percentage%% |
131 | label-discharging-foreground = #565e65 | 131 | label-discharging-foreground = #EEFFFF |
132 | label-charging = %percentage%% | 132 | label-charging = %percentage%% |
133 | label-charging-foreground = #565e65 | 133 | label-charging-foreground = #EEFFFF |
134 | label-full = %percentage%% | 134 | label-full = %percentage%% |
135 | label-full-foreground = #565e65 | 135 | label-full-foreground = #EEFFFF |
136 | format-discharging = bat <label-discharging> | 136 | format-discharging = bat <label-discharging> |
137 | format-full = ^bat <label-full> | 137 | format-full = ^bat <label-full> |
138 | format-charging = +bat <label-charging> | 138 | format-charging = +bat <label-charging> |
@@ -141,7 +141,7 @@ format-charging = +bat <label-charging> | |||
141 | type = internal/pulseaudio | 141 | type = internal/pulseaudio |
142 | format-volume = vol <label-volume> | 142 | format-volume = vol <label-volume> |
143 | label-volume = %percentage%% | 143 | label-volume = %percentage%% |
144 | label-volume-foreground = #565e65 | 144 | label-volume-foreground = #EEFFFF |
145 | label-muted = muted | 145 | label-muted = muted |
146 | 146 | ||
147 | [module/cmus] | 147 | [module/cmus] |
@@ -155,7 +155,7 @@ click-middle = cmus-remote --pause | |||
155 | scroll-up = cmus-remote --volume +5% | 155 | scroll-up = cmus-remote --volume +5% |
156 | scroll-down = cmus-remote --volume -5% | 156 | scroll-down = cmus-remote --volume -5% |
157 | format = <label> | 157 | format = <label> |
158 | format-foreground = #7b8c58 | 158 | format-foreground = ${xrdb:color6:#ffd7b1} |
159 | label = %output% | 159 | label = %output% |
160 | !label-maxlen = 50 | 160 | !label-maxlen = 50 |
161 | 161 | ||