[colors] background = #cccccc background-alt = #aaaaaa foreground = #111111 primary = #111111 secondary = #555555 alert = #A54242 disabled = #888888 [bar/example] height = 16pt radius = 0 background = ${colors.background} foreground = ${colors.foreground} line-size = 0pt border-size = 0pt border-color = #00000000 padding-left = 0pt padding-right = 4pt module-margin = 1 separator = " " separator-foreground = ${colors.disabled} font-0 = Iosevka Term SS08:size=12;4 modules-left = xworkspaces xwindow modules-center = project pomo modules-right = filesystem pulseaudio memory cpu wlan eth date dunst-snooze xkeyboard battery cursor-click = pointer cursor-scroll = ns-resize enable-ipc = true [module/xworkspaces] type = internal/xworkspaces label-active = %name% label-active-background = ${colors.background-alt} label-active-underline= ${colors.primary} label-active-padding = 4pt label-occupied = %name% label-occupied-padding = 4pt label-urgent = %name% label-urgent-background = ${colors.alert} label-urgent-padding = 4pt label-empty = %name% label-empty-foreground = ${colors.disabled} label-empty-padding = 4pt enable-scroll = false enable-click = false [module/xwindow] type = internal/xwindow label = %title:0:60:...% [module/filesystem] type = internal/fs interval = 25 mount-0 = / label-mounted = %mountpoint% %percentage_used%% label-unmounted = %mountpoint% not mounted label-unmounted-foreground = ${colors.disabled} [module/pulseaudio] type = internal/pulseaudio format-volume-prefix = "VOL " format-volume-prefix-foreground = ${colors.primary} format-volume = label-volume = %percentage%% label-muted = muted label-muted-foreground = ${colors.disabled} [module/memory] type = internal/memory interval = 2 format-prefix = "RAM " format-prefix-foreground = ${colors.primary} label = %percentage_used:2%% [module/cpu] type = internal/cpu interval = 2 format-prefix = "CPU " format-prefix-foreground = ${colors.primary} label = %percentage:2%% [network-base] type = internal/network interval = 5 format-connected = format-disconnected = label-disconnected = %ifname% disconnected [module/wlan] inherit = network-base interface-type = wireless label-connected = %ifname% %local_ip% %essid% [module/eth] inherit = network-base interface-type = wired label-connected = %ifname% %local_ip% [module/date] type = internal/date interval = 1 date = W%V %d %b %H:%M date-alt = %Y-%m-%d %H:%M:%S label = %date% label-foreground = ${colors.primary} ; [module/dunst-snooze] ; type = custom/script ; exec = ~/.bin/polybar/polybar-scripts/dunst-snooze/dunst-snooze.sh ; interval = 1 ; click-left = ~/.bin/polybar/polybar-scripts/dunst-snooze/dunst-snooze.sh --toggle & ; [module/info-camera-mic] ; type = custom/script ; exec = ~.bin/polybar/polybar-scripts/info-camera-mic/info-camera-mic.sh ; interval = 1 [module/player-mpris] type = custom/script exec = ~/.bin/polybar/polybar-scripts/player-mpris-simple/player-mpris-simple.sh interval = 1 click-left = playerctl previous & click-right = playerctl next & click-middle = playerctl play-pause & [module/pomo] type = custom/script exec = ~/.bin/sb-pomo label-background = #fa0 interval = 1 [module/focus-mode] type = custom/script exec = [[ -f /tmp/focus-mode ]] && echo "Focus" label-background = #af0 interval = 1 [module/project] type = custom/script exec = cat ~/.project label-background = #fa0 interval = 1000 [module/xkeyboard] type = internal/xkeyboard label-layout = %name% %variant% blacklist-0 = num lock blacklist-1 = scroll lock [module/battery] type = internal/battery full-at = 99 low-at = 20 battery = BAT0 adapter = ADP1 poll-interval = 5 label-charging = .%percentage%++ format-low = label-discharging = .%percentage%-- %time% %consumption%W animation-low-0 = ! animation-low-1 = . animation-low-framerate = 200 [settings] screenchange-reload = true pseudo-transparency = true ; vim:ft=dosini