From 51810b5c07e20982ebdf66f0bfb384c4bf55ad7d Mon Sep 17 00:00:00 2001 From: Akshay Date: Wed, 22 Jul 2020 08:04:08 +0530 Subject: squash again --- polybar/.config/polybar/config | 234 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 234 insertions(+) create mode 100644 polybar/.config/polybar/config (limited to 'polybar/.config') diff --git a/polybar/.config/polybar/config b/polybar/.config/polybar/config new file mode 100644 index 0000000..b7cd3ce --- /dev/null +++ b/polybar/.config/polybar/config @@ -0,0 +1,234 @@ +; ---------- global -------------- + +[colors] +foreground = ${xrdb:color7} +foreground_bright = ${xrdb:color8} +background = ${xrdb:color0} +modb = ${xrdb:color11} +modb1 = ${xrdb:color0} +modb2 = ${xrdb:color0} +red = ${xrdb:color1} +orange = ${xrdb:color9} +yellow = ${xrdb:color3} +green = ${xrdb:color2} +cyan = ${xrdb:color6} +blue = ${xrdb:color4} +magenta = ${xrdb:color5} +brown = ${xrdb:color7} + +[global/wm] +margin-top = 0 +margin-bottom = 0 +override-redirect = true + + +; ------------ bars --------------- + +[bar/time] +width = 400 +height = 70 +offset-x = 20 +offset-y = 1010 +locale = en_US.UTF-8 +background = #00FFFFFF +foreground = ${colors.foreground} +modules-left = time +modules-center = +modules-right = +padding = 0 +font-0 = undefined:size=18:antialias=true;0 + +[bar/date] +width = 400 +height = 70 +offset-x = 20 +offset-y = 960 +locale = en_US.UTF-8 +background = #00FFFFFF +foreground = ${colors.foreground} +modules-left = date +modules-center = +modules-right = +padding = 0 +radius = 0 +font-0 = undefined:size=18:antialias=true;0 +font-1 = scientifica:size=18:antialias=true;0 + +[bar/music] +width = 400 +height = 70 +offset-x = 20 +offset-y = 20 +locale = en_US.UTF-8 +background = #00FFFFFF +foreground = ${colors.foreground} +modules-left = cmusnp +modules-center = +modules-right = +padding = 0 +radius = 0 +font-0 = undefined:size=18:antialias=true;0 +font-1 = scientifica:size=18:antialias=true;0 + + +; ---------- modules --------------- + +[module/workspace] +type = custom/script +interval = 0.01 +exec = echo $(( $(xprop -root _NET_CURRENT_DESKTOP | sed -e 's/_NET_CURRENT_DESKTOP(CARDINAL) = //') + 1)) +format-padding = 2 +format-font = 1 + +[module/date] +type = custom/script +interval = 1.0 +exec = /home/np/scripts/date.sh +format-prefix-foreground = ${colors.green} +format-padding = 0 +format-foreground = ${colors.foreground} + + +[module/time] +type = custom/script +interval = 1.0 +exec = echo "$(date +%p) $(date +%I:%M)" +format-prefix-foreground = ${colors.green} +format-padding = 0 +format-foreground = ${colors.foreground} + +[module/music_pop] +type = custom/script +format-text =