Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [colors]
- background = #171717
- background-alt = #444
- foreground = #dfdfdf
- foreground-alt = #555
- primary = #ffb52a
- secondary = #e60053
- alert = #bd2c40
- [bar/global]
- width = 100%
- height = 28
- offset-y = 0%
- radius = 0.0
- fixed-center = false
- background = ${colors.background}
- foreground = ${colors.foreground}
- line-size = 3
- line-color = #f00
- border-size = 0
- padding-left = 0
- padding-right = 2
- module-margin-left = 1
- module-margin-right = 1
- wm-restack = bspwm
- font-1 = "FontAwesome5Free:style=Solid:size=10;1"
- [bar/single]
- width = 100%
- inherit = bar/global
- font-0 = "Input Mono:size=10:style=Medium;1"
- tray-position = center
- modules-left = bspwm xwindow
- modules-right = backlight pulseaudio-control battery date
- [bar/bottom]
- width = 100%
- inherit = bar/global
- padding-left = 2
- bottom = true
- font-0 = "Input Mono:size=10:style=Medium;1"
- modules-left = xwindow
- modules-right = filesystem memory cpu time-utah
- [module/backlight]
- type = internal/backlight
- card = intel_backlight
- enable-scroll = true
- format-prefix = " "
- format-prefix-foreground = ${colors.foreground-alt}
- [module/battery]
- type = internal/battery
- full-at = 99
- battery = BAT0
- adapter = ADP1
- poll-interval = 5
- time-format = %H:%M
- format-charging = <animation-charging> <label-charging>
- format-discharging = <ramp-capacity> <label-discharging>
- label-charging = %percentage%% %consumption% %time%
- label-discharging = %percentage%% %consumption% %time%
- label-full = 100%
- ramp-capacity-0 =
- ramp-capacity-1 =
- ramp-capacity-2 =
- ramp-capacity-3 =
- ramp-capacity-4 =
- bar-capacity-width = 10
- animation-charging-0 =
- animation-charging-1 =
- animation-charging-2 =
- animation-charging-3 =
- animation-charging-4 =
- animation-charging-framerate = 750
- animation-discharging-0 =
- animation-discharging-1 =
- animation-discharging-2 =
- animation-discharging-3 =
- animation-discharging-4 =
- animation-discharging-framerate = 500
- [module/xwindow]
- type = internal/xwindow
- label = %title:0:30:...%
- [module/pulseaudio]
- type = internal/pulseaudio
- use-ui-max = true
- interval = 5
- format-prefix = " "
- format-underline = #fff
- [module/xkeyboard]
- type = internal/xkeyboard
- blacklist-0 = num lock
- format-prefix = " "
- format-prefix-foreground = ${colors.foreground-alt}
- format-underline = #fff
- [module/filesystem]
- type = internal/fs
- interval = 60
- mount-0 = /
- mount-1 = /home
- fixed-values = true
- spacing = 4
- label-mounted = %{F#FFFFFF}%mountpoint%%{F-}: %free%
- [module/bspwm]
- type = internal/bspwm
- label-focused = %name%
- label-focused-background = ${colors.background-alt}
- label-focused-underline= #fff
- label-focused-padding = 2
- label-occupied = %name%
- label-occupied-padding = 2
- label-urgent = %name%!
- label-urgent-background = ${colors.alert}
- label-urgent-padding = 2
- label-empty = %name%
- label-empty-foreground = ${colors.foreground-alt}
- label-empty-padding = 2
- ; Separator in between workspaces
- ; label-separator = |
- [module/mpd]
- type = internal/mpd
- format-online = <label-song> <icon-prev> <icon-stop> <toggle> <icon-next>
- icon-prev =
- icon-stop =
- icon-play =
- icon-pause =
- icon-next =
- label-song-maxlen = 25
- label-song-ellipsis = true
- [module/cpu]
- type = internal/cpu
- interval = 2
- format-prefix = " "
- format-prefix-foreground = ${colors.foreground-alt}
- ;format-underline = #fff
- label = %percentage:2%%
- [module/memory]
- type = internal/memory
- interval = 2
- format-prefix = " "
- format-prefix-foreground = ${colors.foreground-alt}
- ;format-underline = #fff
- label = %percentage_used%%
- [module/date]
- type = internal/date
- interval = 5
- date =
- date-alt = " %d-%m-%Y"
- time = %H:%M
- time-alt = %H:%M:%S
- format-prefix =
- format-prefix-foreground = ${colors.foreground-alt}
- ;format-underline = #fff
- label = %date% %time%
- [module/time-utah]
- type = custom/script
- exec = TZ=America/Denver date +" %H:%M"
- interval = 1
- format-prefix = UT:
- format-prefix-foreground = ${colors.foreground-alt}
- ;format-underline = #0a6cf5
- [module/pulseaudio-control]
- type = custom/script
- tail = true
- label=%output%
- ;format-underline = ${colors.foreground}
- exec = ~/.config/polybar/scripts/pa-control/pulseaudio-control.bash listen
- click-right = exec pavucontrol &
- click-left = ~/.config/polybar/scripts/pa-control/pulseaudio-control.bash togmute
- click-middle = ~/.config/polybar/scripts/pa-control/pulseaudio-control.bash next-sink
- scroll-up = ~/.config/polybar/scripts/pa-control/pulseaudio-control.bash up
- scroll-down = ~/.config/polybar/scripts/pa-control/pulseaudio-control.bash down
- ;label-padding = 2
- label-foreground = ${colors.foreground}
- [settings]
- screenchange-reload = true
- [global/wm]
- margin-top = 5
- margin-bottom = 5
Advertisement
Add Comment
Please, Sign In to add comment