all repos — dotfiles @ 48d317a422eda3c3ec9d4558c0ef37d07d6c3ff4

my *nix dotfiles

config/polybar/bar (view raw)

  1;                 __      __              
  2;    ____  ____  / /_  __/ /_  ____ ______
  3;   / __ \/ __ \/ / / / / __ \/ __ `/ ___/
  4;  / /_/ / /_/ / / /_/ / /_/ / /_/ / /    
  5; / .___/\____/_/\__, /_.___/\__,_/_/     
  6;/_/            /____/                    
  7;
  8;
  9
 10[global/wm]
 11;margin-top = 
 12;margin-bottom = 2
 13
 14[colors]
 15fg = ${xrdb:color7}
 16bg = ${xrdb:color0}
 17
 18[bar/top]
 19width = 100%
 20height = 35
 21offset-x = 0%
 22offset-y= 0%
 23fixed-center = true
 24override-redirect = false 
 25
 26
 27background = ${colors.bg}
 28foreground = ${colors.fg}
 29
 30font-0 = Operator Mono Book:size=12:;1
 31font-1 = Feather:size=12:;2
 32
 33modules-left =  date time volume battery 
 34modules-center = xwindow 
 35modules-right = ewmh
 36
 37tray-position = right
 38tray-padding = 0
 39tray-background = ${colors.bg}
 40tray-transparent = false
 41tray-detached = false
 42
 43underline-size = 3
 44
 45spacing = 1 
 46padding-left = 1
 47padding-right = 1
 48module-margin-left = 2
 49module-margin-right = 2
 50
 51[module/volume]
 52type = internal/volume
 53
 54format-volume = <ramp-volume><label-volume>
 55module-margin-right = 1
 56ramp-volume-0 = 
 57ramp-volume-1 = 
 58ramp-volume-2 = 
 59
 60format-volume-background = ${colors.bg}
 61ramp-volume-foreground = ${xrdb:color6}
 62
 63label-muted =  muted
 64
 65
 66[module/xwindow]
 67type = internal/xwindow
 68label = %title:0:30:...%
 69format-prefix = " "
 70format-prefix-foreground = ${xrdb:color6}
 71module-margin-left = 2
 72format-padding = 2
 73format-background = ${colors.bg}
 74
 75[module/ewmh]
 76type = internal/xworkspaces
 77pin-workspaces = true
 78enable-scroll = true
 79
 80format = <label-state>
 81
 82label-active = ×
 83label-active-foreground = ${xrdb:color6}
 84label-active-background = ${colors.bg}
 85label-active-padding = 1
 86
 87label-empty = •
 88label-empty-foreground = ${colors.fg}
 89label-empty-background = ${colors.bg}
 90label-empty-padding = 1
 91
 92label-urgent = !
 93label-urgent-foreground = #EC5f67
 94label-urgent-background = ${colors.bg}
 95label-urgent-padding = 1
 96
 97
 98[module/date]
 99type = internal/date
100interval = 1
101date = " %A, %d %B 
102format-prefix = "" 
103format-prefix-foreground = ${xrdb:color6}
104
105[module/time]
106type = internal/date
107interval = 1
108date = " %I:%M" 
109format-prefix = ""
110format-prefix-foreground = ${xrdb:color6}
111
112[module/battery]
113type = internal/battery
114full-at = 100
115battery = BAT0
116adapter = ACAD
117poll-interval = 5
118
119format-charging = <label-charging>
120format-discharging = <ramp-capacity><label-discharging>
121label-charging =  %percentage%%
122label-charging-foreground = ${xrdb:color6}
123label-discharging = %percentage%%
124label-discharging-foreground = ${colors.fg}
125label-full =  full!
126ramp-capacity-foreground = ${xrdb:color6}
127ramp-capacity-0 = !
128ramp-capacity-1 = 
129ramp-capacity-2 = 
130
131[module/spotipy]
132type = custom/script
133exec =  ~/scripts/spoti.py
134exec-if = pgrep spotify > /dev/null
135interval = 0.01
136click-left = playerctl -p spotify play-pause 
137
138; vim:ft=dosini