all repos — dotfiles @ bc1abf09c5dee000638aef39546a91684c6383cc

my *nix dotfiles

config/polybar/xfwm_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 = 32
 21offset-x = 0%
 22offset-y= 0%
 23fixed-center = true
 24override-redirect = false 
 25
 26
 27background = ${colors.bg}
 28foreground = ${colors.fg}
 29
 30font-0 = Dina:size=9:;0
 31font-1 = Wuncon Siji:size=9:;0
 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 = false2
 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}
 85;label-active-padding = 1
 86
 87label-empty = 
 88label-empty-foreground = ${colors.fg}
 89label-empty-background = ${colors.bg}
 90;label-empty-padding = 1
 91
 92label-urgent = 
 93label-urgent-foreground = #EC5f67
 94label-urgent-background = ${colors.bg}
 95;label-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 = <animation-charging><label-charging>
120format-discharging = <ramp-capacity><label-discharging>
121label-charging = %percentage%%
122label-charging-foreground = ${colors.fg}
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 = 
130ramp-capacity-3 = 
131ramp-capacity-4 = 
132bar-capacity-width = 10
133animation-charging-0 = 
134animation-charging-1 = 
135animation-charging-2 = 
136animation-charging-3 = 
137animation-charging-4 = 
138animation-charging-foreground = ${xrdb:color6}
139animation-charging-framerate = 750
140
141[module/spotipy]
142type = custom/script
143exec =  ~/scripts/spoti.py
144exec-if = pgrep spotify > /dev/null
145interval = 0.01
146click-left = playerctl -p spotify play-pause 
147
148
149; vim:ft=dosini
150