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/polybar/polybar
- ;
- ; The README contains a lot of information
- ;
- ;==========================================================
- [colors]
- background = #333
- background-alt = #444
- foreground = #efefefef
- foreground-alt = #999
- primary = #ffb52a
- secondary = #CCe60053
- alert = #bd2c40
- [bar/example]
- enable-ipc = true
- width = 100%
- height = 18
- radius = 0
- fixed-center = true
- background = ${colors.background}
- foreground = ${colors.foreground}
- line-size = 2
- line-color = #f00
- border-size = 1
- border-color = #777
- padding-left = 2
- padding-right = 2
- module-margin-left = 1
- module-margin-right = 1
- font-0 = Noto Sans:fontformat:mono:pixelsize=10;1
- font-1 = Noto Sans:fontformat=truetype:size=8:antialias=false;0
- font-2 = Material Design Icons:pixelsize=10;2
- modules-left = volume-bar alsa xwindow
- modules-center = popup-calendar
- modules-right = xkeyboard wlan battery memory cpu temperature powermenu
- tray-position = right
- tray-padding = 2
- ;tray-background = #0063ff
- ;wm-restack = bspwm
- ;wm-restack = i3
- ;override-redirect = true
- cursor-click = pointer
- cursor-scroll = ns-resize
- [module/xwindow]
- type = internal/xwindow
- label = " | %title:0:50:...%"
- [module/xkeyboard]
- type = internal/xkeyboard
- blacklist-0 = num lock
- format-prefix-foreground = ${colors.foreground-alt}
- format-prefix-underline = ${colors.secondary}
- label-layout = " "
- label-indicator-padding = 2
- label-indicator-margin = 1
- label-indicator-background =
- label-indicator-underline =
- [module/cpu]
- type = internal/cpu
- interval = 2
- format-prefix = ""
- format-prefix-foreground = ${colors.foreground-alt}
- format-underline = #4169e1
- label = %percentage:3%%
- [module/memory]
- type = internal/memory
- interval = 2
- format-prefix = " "
- format-prefix-foreground = ${colors.foreground-alt}
- format-underline = #4682b4
- label = %percentage_used%%
- [module/wlan]
- type = internal/network
- interface = wlp2s0
- interval = 3.0
- format-connected = <ramp-signal> <label-connected>
- format-connected-underline = #9f78e1
- label-connected = %essid%
- 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-foreground = ${colors.foreground-alt}
- [module/eth]
- type = internal/network
- interface = net0
- interval = 3.0
- format-connected-underline = #55aa55
- format-connected-prefix = " "
- 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
- ; Seconds to sleep between updates
- interval = 1
- ; See "http://en.cppreference.com/w/cpp/io/manip/put_time" for details on how to format the date string
- ; NOTE: if you want to use syntax tags here you need to use %%{...}
- date = " %a %b %d, %Y"
- date-alt = " %a %d-%m-%Y"
- time = %H:%M
- time-alt = %H:%M:%S
- format-prefix = " "
- format-prefix-foreground = #fefefe
- format-foreground = #fefefe
- label = " %date% %time% "
- [module/popup-calendar]
- type = custom/script
- exec = ~/.config/polybar/polybar-scripts/popup-calendar.sh
- interval = 5
- click-left = ~/.config/polybar/polybar-scripts/popup-calendar.sh --popup &
- [module/volume-bar]
- type = internal/volume
- bar-volume-font = 2
- bar-volume-width = 10
- format-volume = <label-volume><bar-volume>
- label-volume = " "
- label-muted = " "
- label-volume-foreground = #B6C2E7
- format-muted-foreground = #FF0000
- bar-volume-foreground-0 = #92A3F7
- bar-volume-foreground-1 = #92A3F7
- bar-volume-foreground-2 = #6BB3E7
- bar-volume-foreground-3 = #6BB3E7
- bar-volume-foreground-4 = #6BB3E7
- bar-volume-foreground-5 = #6BE7D8
- bar-volume-foreground-6 = #6BE7D8
- bar-volume-gradient = true
- bar-volume-indicator = II
- bar-volume-fill = =
- bar-volume-empty = =
- bar-volume-empty-foreground = #666666
- [module/alsa]
- type = internal/alsa
- mapped = false
- label-volume = " %percentage%%"
- label-muted = "muted"
- interval = 5
- [module/battery]
- type = internal/battery
- battery = BAT0
- adapter = AC0
- full-at = 100
- format-charging = <animation-charging> <label-charging>
- format-charging-underline = #00FF00
- format-discharging = <animation-discharging> <label-discharging>
- format-discharging-underline = #008000
- format-full-prefix = " "
- format-full-prefix-foreground = ${colors.foreground-alt}
- format-full-underline = ${self.format-charging-underline}
- ramp-capacity-0 = ramp
- ramp-capacity-1 = ramp1
- ramp-capacity-2 = ramp2
- ramp-capacity-foreground = ${colors.foreground-alt}
- animation-charging-0 =
- animation-charging-1 =
- animation-charging-2 =
- animation-charging-3 =
- animation-charging-foreground = ${colors.foreground-alt}
- animation-charging-framerate = 500
- animation-discharging-0 =
- animation-discharging-1 =
- animation-discharging-2 =
- animation-discharging-foreground = ${colors.foreground-alt}
- animation-discharging-framerate = 1000
- [module/temperature]
- type = internal/temperature
- thermal-zone = 0
- warn-temperature = 70
- format = <label>
- format-underline = #cc0a4d
- format-warn = <label-warn>
- format-warn-underline = #ff0000
- label = " %temperature-c%"
- label-warn = " %temperature-c%"
- label-warn-foreground = #ff0000
- [module/powermenu]
- type = custom/menu
- expand-right = true
- format-spacing = 1
- label-open =
- label-open-foreground = #ff0000
- label-close = cancel
- label-close-foreground = #ff0000
- label-separator = |
- label-separator-foreground = ${colors.foreground-alt}
- menu-0-0 = reboot
- menu-0-0-exec = sudo reboot
- menu-0-1 = power off
- menu-0-1-exec = sudo poweroff
- [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 = 0
- ; vim:ft=dosini
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement