config/polybar/bar (view raw)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 |
; __ __ ; ____ ____ / /_ __/ /_ ____ ______ ; / __ \/ __ \/ / / / / __ \/ __ `/ ___/ ; / /_/ / /_/ / / /_/ / /_/ / /_/ / / ; / .___/\____/_/\__, /_.___/\__,_/_/ ;/_/ /____/ ; ; [global/wm] ;margin-top = ;margin-bottom = 2 [colors] fg = ${xrdb:color7} ;bg = #001d1f21 bg = ${xrdb:color0} [bar/top] width = 100% height = 35 offset-x = 0% offset-y= 0% fixed-center = true override-redirect = false background = ${colors.bg} foreground = ${colors.fg} font-0 = Roboto Mono:size=14:weight=Medium;3 modules-left = date time volume battery music modules-center = modules-right = ewmh tray-position = false tray-padding = 0 tray-background = ${colors.bg} tray-detached = false underline-size = 3 spacing = 1 padding-left = 1 padding-right = 1 module-margin-left = 2 module-margin-right = 2 [module/volume] type = custom/script interval = 0.01 exec = ~/bin/vol.sh -q scroll-up = ~/bin/vol.sh -i scroll-down = ~/bin/vol.sh -d [module/xwindow] type = internal/xwindow label = %title:0:30:...% format-prefix = " " format-prefix-foreground = ${xrdb:color6} module-margin-left = 2 format-padding = 2 format-background = ${colors.bg} [module/ewmh] type = internal/xworkspaces pin-workspaces = true enable-scroll = true format = <label-state> label-active = × label-active-foreground = ${colors.fg} label-active-background = ${colors.bg} label-active-padding = 1 label-empty = • label-empty-foreground = ${colors.fg} label-empty-background = ${colors.bg} label-empty-padding = 1 label-urgent = ! label-urgent-foreground = #EC5f67 label-urgent-background = ${colors.bg} label-urgent-padding = 1 [module/date] type = custom/script interval = 1.0 exec = ~/bin/time.sh -d [module/time] type = custom/script interval = 1.0 exec = ~/bin/time.sh -t [module/battery] type = custom/script interval = 1.0 exec = ~/bin/bat.sh [module/music] type = custom/script interval = 1.0 exec = ~/bin/np.sh [module/spotipy] type = custom/script exec = ~/scripts/spoti.py exec-if = pgrep spotify > /dev/null interval = 0.01 click-left = playerctl -p spotify play-pause ; vim:ft=dosini |