123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209 |
- ;==========================================================
- ;
- ;
- ; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗
- ; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗
- ; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝
- ; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗
- ; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║
- ; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝
- ;
- ;
- ; 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 = #000000
- background-alt = #444
- ;foreground = ${xrdb:color7:#222}
- foreground = #dfdfdf
- foreground-alt = #555
- primary = #ffb52a
- secondary = #e60053
- alert = #bd2c40
- [bar/example]
- ; https://github.com/polybar/polybar/wiki/Configuration
- enable-ipc = true
- ; override-redirect = false
- monitor = ${env:MONITOR:HDMI1}
- width = 100%
- height = 20
- ;offset-x = 1%
- ;offset-y = 1%
- radius = 0
- fixed-center = true
- background = ${colors.background}
- foreground = ${colors.foreground}
- line-size = 2
- line-color = #f00
- border-size = 4
- border-color = #00000000
- padding-left = 0
- padding-right = 2
- module-margin-left = 1
- module-margin-right = 2
- font-0 = DejaVu Sans Mono:size=10:style=Regular
- ; font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
- ; font-2 = siji:pixelsize=10;1
- modules-left = ewmh title
- modules-center = date
- modules-right = cpu memory eth filesystem pulseaudio xkeyboard
- ; powermenu
- tray-position = right
- tray-padding = 2
- ;tray-background = #0063ff
- ;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
- cursor-click = pointer
- cursor-scroll = ns-resize
- [module/xkeyboard]
- type = internal/xkeyboard
- blacklist-0 = num lock
- format-prefix = "KEY "
- format-prefix-foreground = ${colors.foreground-alt}
- format-prefix-underline = ${colors.secondary}
- label-layout = %layout%
- label-layout-underline = ${colors.secondary}
- label-indicator-padding = 2
- label-indicator-margin = 1
- label-indicator-background = ${colors.secondary}
- label-indicator-underline = ${colors.secondary}
- [module/filesystem]
- type = internal/fs
- interval = 25
- mount-0 = /
- label-mounted = %{F#0a81f5}%mountpoint%%{F-}: %percentage_used%%
- label-unmounted = %mountpoint% not mounted
- label-unmounted-foreground = ${colors.foreground-alt}
- [module/cpu]
- type = internal/cpu
- interval = 2
- format-prefix = "CPU; "
- format-prefix-foreground = ${colors.foreground-alt}
- format-underline = #f90000
- label = %percentage:2%%
- [module/memory]
- type = internal/memory
- interval = 2
- format-prefix = "RAM "
- format-prefix-foreground = ${colors.foreground-alt}
- format-underline = #4bffdc
- label = %percentage_used%%
- [module/eth]
- type = internal/network
- interface = br0
- interval = 3.0
- format-connected-underline = #55aa55
- format-connected-prefix = "LAN "
- format-connected-prefix-foreground = ${colors.foreground-alt}
- 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 =
- date-alt = " %Y-%m-%d"
- time = %H:%M
- time-alt = %H:%M:%S
- format-prefix = MSK
- format-prefix-foreground = ${colors.foreground-alt}
- format-underline = #0a6cf5
- label = %date% %time%
- [module/title]
- type = internal/xwindow
- ; label = %title:0:30:...%
- label-maxlen = 50
- [module/ewmh]
- type = internal/xworkspaces
- label-active-foreground = #ffffff
- label-active-underline = #fba922
- [module/pulseaudio]
- type = internal/pulseaudio
- format-volume = <label-volume> <bar-volume>
- label-volume = VOL %percentage%%
- label-volume-foreground = ${root.foreground}
- label-muted = muted
- label-muted-foreground = #666
- bar-volume-width = 10
- bar-volume-foreground-0 = #55aa55
- bar-volume-foreground-1 = #55aa55
- bar-volume-foreground-2 = #55aa55
- bar-volume-foreground-3 = #55aa55
- bar-volume-foreground-4 = #55aa55
- bar-volume-foreground-5 = #f5a70a
- bar-volume-foreground-6 = #ff5555
- bar-volume-gradient = false
- bar-volume-indicator = |
- bar-volume-indicator-font = 2
- bar-volume-fill = ─
- bar-volume-fill-font = 2
- bar-volume-empty = ─
- bar-volume-empty-font = 2
- bar-volume-empty-foreground = ${colors.foreground-alt}
- [settings]
- screenchange-reload = true
- ;compositing-background = xor
- ;compositing-background = screen
- ;compositing-foreground = source
- ;compositing-border = over
- ;pseudo-transparency = false
- [global/wm]
- margin-top = 0
- margin-bottom = 5
- ; vim:ft=dosini
|