summaryrefslogtreecommitdiff
path: root/polybar
diff options
context:
space:
mode:
Diffstat (limited to 'polybar')
-rwxr-xr-xpolybar/.config/polybar/cmus.sh3
-rwxr-xr-xpolybar/.config/polybar/config22
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]"
18else 19else
19 echo 20 echo
20fi 21fi
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 @@
2screenchange-reload = true 2screenchange-reload = true
3 3
4[colors] 4[colors]
5#background = ${xrdb:color0:#222} 5;background = ${xrdb:background:#060808}
6background = ${xrdb:background:#060808} 6background = #00000000
7background-alt = ${xrdb:color0:#000} 7background-alt = ${xrdb:color0:#000}
8;foreground = ${xrdb:color7:#222} 8;foreground = ${xrdb:foreground:#c5c8c6}
9foreground = ${xrdb:foreground:#c5c8c6} 9foreground = #5e5c5c
10foreground-alt = ${xrdb:colorBD:#444} 10foreground-alt = ${xrdb:colorBD:#444}
11primary = ${xrdb:color4:#ffb52a} 11primary = ${xrdb:color4:#ffb52a}
12secondary = ${xrdb:color3:#e60053} 12secondary = ${xrdb:color3:#e60053}
@@ -111,14 +111,14 @@ type = internal/date
111interval = 1.0 111interval = 1.0
112date = %I:%M %p 112date = %I:%M %p
113label = %date% 113label = %date%
114label-foreground = #565e65 114label-foreground = #EEFFFF
115format = time <label> 115format = time <label>
116 116
117[module/date] 117[module/date]
118type = internal/date 118type = internal/date
119date = %a, %d %b 119date = %a, %d %b
120label = %date% 120label = %date%
121label-foreground = #565e65 121label-foreground = #EEFFFF
122format= date <label> 122format= date <label>
123 123
124[module/battery] 124[module/battery]
@@ -128,11 +128,11 @@ adapter = ADP1
128poll-interval = 1 128poll-interval = 1
129;full-at = 98 129;full-at = 98
130label-discharging = %percentage%% 130label-discharging = %percentage%%
131label-discharging-foreground = #565e65 131label-discharging-foreground = #EEFFFF
132label-charging = %percentage%% 132label-charging = %percentage%%
133label-charging-foreground = #565e65 133label-charging-foreground = #EEFFFF
134label-full = %percentage%% 134label-full = %percentage%%
135label-full-foreground = #565e65 135label-full-foreground = #EEFFFF
136format-discharging = bat <label-discharging> 136format-discharging = bat <label-discharging>
137format-full = ^bat <label-full> 137format-full = ^bat <label-full>
138format-charging = +bat <label-charging> 138format-charging = +bat <label-charging>
@@ -141,7 +141,7 @@ format-charging = +bat <label-charging>
141type = internal/pulseaudio 141type = internal/pulseaudio
142format-volume = vol <label-volume> 142format-volume = vol <label-volume>
143label-volume = %percentage%% 143label-volume = %percentage%%
144label-volume-foreground = #565e65 144label-volume-foreground = #EEFFFF
145label-muted = muted 145label-muted = muted
146 146
147[module/cmus] 147[module/cmus]
@@ -155,7 +155,7 @@ click-middle = cmus-remote --pause
155scroll-up = cmus-remote --volume +5% 155scroll-up = cmus-remote --volume +5%
156scroll-down = cmus-remote --volume -5% 156scroll-down = cmus-remote --volume -5%
157format = <label> 157format = <label>
158format-foreground = #7b8c58 158format-foreground = ${xrdb:color6:#ffd7b1}
159label = %output% 159label = %output%
160!label-maxlen = 50 160!label-maxlen = 50
161 161