Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;=====================================================
- ;
- ; To learn more about how to configure Polybar
- ; go to https://github.com/jaagr/polybar
- ;
- ; The README contains alot of information
- ;
- ;=====================================================
- [colors]
- ;background = ${xrdb:color0:#222}
- background = #002f343f
- ;background = #aa2f343f
- background-alt = #5b4848
- foreground = #f5f8f6
- ;foreground = #dfdfdf
- foreground-alt = #e0d8d6
- primary = #e4bc87
- secondary = #cb6077
- alert = #e3788f
- [bar/bar1]
- monitor = ${env:MONITOR:LVDS1}
- width = 100%
- height = 22
- ;offset-x = 1%
- ;offset-y = 1%
- radius = 0.0
- fixed-center = false
- bottom = true
- background = ${colors.background}
- foreground = ${colors.foreground}
- line-size = 2
- line-color = #cb6077
- border-size = 0
- ;border-left-size = 25
- ;border-right-size = 25
- ;border-top-size = 25
- ;border-bottom-size = 0
- border-color = #00000000
- padding-left = 3
- padding-right = 3
- module-margin-left = 4
- module-margin-right = 4
- font-0 = fontawesome:size=9;1
- font-1 = ShureTechMono Nerd Font:size=8;1
- #font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
- font-2 = siji:pixelsize=9;1
- ;modules-center = mpd
- modules-left = i3 xwindow
- ;modules-right = filesystem xbacklight volume xkeyboard memory cpu wlan eth battery temperature date powermenu
- modules-right = filesystem xbacklight volume xkeyboard memory cpu wlan eth battery temperature date
- tray-position = right
- tray-padding = 2
- tray-maxsize = 14
- tray-transparent = true
- tray-background = #2f343f
- ;wm-restack = bspwm
- ;wm-restack = i3
- ;override-redirect = true
- ;scroll-up = bspwm-desknext
- ;scroll-down = bspwm-deskprev
- ;scroll-up = i3wm-wsnext
- ;scroll-down = i3wm-wsprev
- [module/xwindow]
- type = internal/xwindow
- label = %title:0:30:...%
- format-prefix = " "
- format-prefix-foreground = #cb6077
- format-underline = #cb6077
- label-indicator-padding = 2
- label-indicator-margin = 1
- label-indicator-background = ${colors.secondary}
- label-indicator-underline = ${colors.secondary}
- [module/xkeyboard]
- type = internal/xkeyboard
- blacklist-0 = num lock
- format-prefix = " "
- format-prefix-foreground = #bec55b
- format-prefix-underline = #bec55b
- label-layout = %layout%
- label-layout-underline = #bec55b
- label-indicator-padding = 2
- label-indicator-margin = 1
- label-indicator-background = ${colors.secondary}
- label-indicator-underline = ${colors.secondary}
- [module/filesystem]
- type = internal/fs
- interval = 30
- mount-0 = /
- label-mounted = %{F#0a81f5}%mountpoint%%{F-}: %percentage_used%%
- label-unmounted = %mountpoint% not mounted
- label-unmounted-foreground = ${colors.foreground-alt}
- format-prefix = " "
- [module/bspwm]
- type = internal/bspwm
- label-focused = %index%
- label-focused-background = ${colors.background-alt}
- label-focused-underline= ${colors.primary}
- label-focused-padding = 2
- label-occupied = %index%
- label-occupied-padding = 2
- label-urgent = %index%!
- label-urgent-background = ${colors.alert}
- label-urgent-padding = 2
- label-empty = %index%
- label-empty-foreground = ${colors.foreground-alt}
- label-empty-padding = 2
- [module/i3]
- type = internal/i3
- format = <label-state> <label-mode>
- index-sort = true
- wrapping-scroll = false
- ; Only show workspaces on the same output as the bar
- ;pin-workspaces = true
- ws-icon-0 = 1;
- ws-icon-1 = 2;
- ws-icon-2 = 3;
- ws-icon-3 = 4;
- ws-icon-4 = 5;
- ws-icon-5 = 6;
- ws-icon-6 = 7;
- ws-icon-7 = 8;
- ws-icon-8 = 9;
- ws-icon-9 = 10;
- ws-icon-default = " "
- label-mode-padding = 2
- label-mode-foreground = #2f343f
- label-mode-background = #cb6077
- ; focused = Active workspace on focused monitor
- label-focused = %name% : %icon%
- label-focused-background = ${colors.background}
- label-focused-foreground = #e4bc87
- label-focused-underline = #e4bc87
- label-focused-padding = 3
- ; unfocused = Inactive workspace on any monitor
- label-unfocused = %name% : %icon%
- label-unfocused-padding = 3
- ; visible = Active workspace on unfocused monitor
- label-visible = %icon%
- label-visible-background = ${self.label-focused-background}
- label-visible-underline = ${self.label-focused-underline}
- label-visible-padding = 3
- ; urgent = Workspace with urgency hint set
- label-urgent = %name%
- label-urgent-background = ${self.label-focused-background}
- label-urgent-foreground = #cb6077
- label-urgent-padding = 3
- [module/mpd]
- type = internal/mpd
- ;format-online = "<label-song> <icon-prev> <icon-stop> <toggle> <icon-next>"
- ;format-online = " <label-song> <bar-progress>"
- format-online = "<toggle> <label-song>"
- icon-prev =
- icon-stop =
- ;icon-play =
- ;icon-pause =
- icon-pause =
- icon-play =
- icon-next =
- label-song-maxlen = 40
- label-song-ellipsis = true
- bar-progress-width = 20
- bar-progress-indicator =
- bar-progress-fill =
- bar-progress-empty =
- bar-progress-fill-foreground = #f5f8f6
- bar-progress-indicator-foreground = #f5f8f6
- [module/xbacklight]
- type = internal/xbacklight
- format = <label> <bar>
- label = %percentage%%
- bar-width = 10
- bar-indicator = ➤
- bar-indicator-foreground = #f5f8f6
- bar-indicator-font = 2
- bar-fill = ─
- bar-fill-font = 2
- bar-fill-foreground = #fcd49f
- bar-empty = ─
- bar-empty-font = 2
- bar-empty-foreground = ${colors.foreground-alt}
- format-prefix = " "
- format-prefix-foreground = #fcd49f
- format-underline = #fcd49f
- label-indicator-padding = 2
- label-indicator-margin = 1
- label-indicator-background = ${colors.secondary}
- label-indicator-underline = ${colors.secondary}
- [module/backlight-acpi]
- inherit = module/xbacklight
- type = internal/backlight
- card = intel_backlight
- [module/cpu]
- type = internal/cpu
- interval = 2
- ;format = <label> <ramp-coreload>
- format = <label>
- format-prefix = " "
- format-prefix-foreground = #cb6077
- format-underline = #cb6077
- label = %percentage%%
- ramp-coreload-0 = %{F#cb6077}▁%{F-}
- ramp-coreload-1 = %{F#cb6077}▂%{F-}
- ramp-coreload-2 = %{F#cb6077}▃%{F-}
- ramp-coreload-3 = %{F#cb6077}▄%{F-}
- ramp-coreload-4 = %{F#cb6077}▅%{F-}
- ramp-coreload-5 = %{F#cb6077}▆%{F-}
- ramp-coreload-6 = %{F#cb6077}▇%{F-}
- ramp-coreload-7 = %{F#cb6077}█%{F-}
- [module/memory]
- type = internal/memory
- interval = 2
- ;format = <label> <bar-used>
- format = <label>
- format-prefix = " "
- format-prefix-foreground = #bec55b
- format-underline = #bec55b
- label = %gb_used%
- bar-used-indicator =
- bar-used-width = 10
- bar-used-foreground-0 = #bec55b
- bar-used-foreground-1 = #bec55b
- bar-used-foreground-2 = #bec55b
- bar-used-foreground-3 = #bec55b
- bar-used-fill =
- bar-used-empty =
- bar-used-empty-foreground = ${colors.foreground}
- [module/wlan]
- type = internal/network
- interface = wlp2s0
- interval = 3.0
- format-connected = <ramp-signal> <label-connected>
- format-connected-underline = #a89bb9
- label-connected = %essid%
- format-disconnected =
- ;format-disconnected = <label-disconnected>
- ;format-disconnected-underline = ${self.format-connected-underline}
- ;label-disconnected = %ifname% disconnected
- ;label-disconnected-foreground = ${colors.foreground-alt}
- ;ramp-signal-0 = ▁
- ;ramp-signal-1 = ▂
- ;ramp-signal-2 = ▃
- ;ramp-signal-3 = ▄
- ;ramp-signal-4 = ▅
- ;ramp-signal-5 = ▆
- ;ramp-signal-6 = ▇
- ;ramp-signal-7 = █
- ramp-signal-0 = ▁
- ramp-signal-1 =
- ramp-signal-2 =
- ramp-signal-3 =
- ramp-signal-4 =
- ramp-signal-5 =
- ramp-signal-6 =
- ramp-signal-7 =
- ramp-signal-foreground = #a89bb9
- [module/eth]
- type = internal/network
- interface = enp1s0
- interval = 3.0
- format-connected-underline = #7bcdb4
- format-connected-prefix = " "
- format-connected-prefix-foreground = #7bcdb4
- label-connected = %local_ip%
- format-disconnected =
- ;format-disconnected = <label-disconnected>
- ;format-disconnected-underline = ${self.format-connected-underline}
- ;label-disconnected = %ifname% disconnected
- ;label-disconnected-foreground = ${colors.foreground-alt}
- [module/date]
- type = internal/date
- interval = 5
- date = %a, %d %B
- date-alt = " %Y-%m-%d"
- ;time = %H:%M
- time = | %H:%M
- time-alt = | %H:%M:%S
- format-prefix = " "
- format-prefix-foreground = #8ab3d5
- format-underline = #8ab3d5
- label = %date% %time%
- [module/volume]
- type = internal/volume
- label-volume-foreground = #bec55b
- format-volume = <label-volume>
- format-muted-prefix = " "
- format-muted-foreground = ${colors.foreground}
- label-muted = muted
- [module/battery]
- type = internal/battery
- battery = BAT0
- adapter = AC0
- full-at = 100
- format-charging = <animation-charging> <label-charging>
- label-charging = %percentage%%
- format-charging-underline = #a3c725
- format-discharging = <ramp-capacity> <label-discharging>
- label-discharging = %percentage%%
- format-discharging-underline = #c7ae25
- format-full-prefix = " "
- format-full-prefix-foreground = #a3c725
- format-full-underline = #a3c725
- ramp-capacity-0 =
- ramp-capacity-1 =
- ramp-capacity-2 =
- ramp-capacity-3 =
- ramp-capacity-4 =
- ramp-capacity-foreground = #c7ae25
- animation-charging-0 =
- animation-charging-1 =
- animation-charging-2 =
- animation-charging-3 =
- animation-charging-4 =
- animation-charging-foreground = #a3c725
- animation-charging-framerate = 750
- [module/temperature]
- type = internal/temperature
- thermal-zone = 0
- warn-temperature = 60
- format = <ramp> <label>
- format-underline = #7bcdb4
- format-warn = <ramp> <label-warn>
- format-warn-underline = #7bcdb4
- label = %temperature%
- ;label-warn = %temperature%
- ;label-warn-foreground = #c7254f
- ramp-0 =
- ramp-1 =
- ramp-2 =
- ramp-3 =
- ramp-4 =
- ramp-foreground = #7bcdb4
- [module/powermenu]
- type = custom/menu
- format-spacing = 1
- label-open =
- label-open-foreground = ${colors.secondary}
- label-close = close
- label-close-foreground = ${colors.secondary}
- label-separator = |
- label-separator-foreground = ${colors.foreground-alt}
- menu-0-0 = reboot
- menu-0-0-exec = menu-open-1
- menu-0-1 = power off
- menu-0-1-exec = menu-open-2
- menu-1-0 = cancel
- menu-1-0-exec = menu-open-0
- menu-1-1 = reboot
- menu-1-1-exec = sudo reboot
- menu-2-0 = power off
- menu-2-0-exec = sudo poweroff
- menu-2-1 = cancel
- menu-2-1-exec = menu-open-0
- [settings]
- screenchange-reload = true
- ;compositing-background = xor
- ;compositing-background = screen
- ;compositing-foreground = source
- ;compositing-border = over
- [global/wm]
- margin-top = 0
- margin-bottom = 0
- ; vim:ft=dosini
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement