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
- ;
- ;==========================================================
- [module/ewmh]
- type = internal/xworkspaces
- ; Only show workspaces defined on the same output as the bar
- ;
- ; Useful if you want to show monitor specific workspaces
- ; on different bars
- ;
- ; Default: false
- pin-workspaces = true
- ; Create click handler used to focus desktop
- ; Default: true
- enable-click = false
- ; Create scroll handlers used to cycle desktops
- ; Default: true
- enable-scroll = false
- ; Reverse the scroll direction
- ; Default: false
- ; New in version 3.6.0
- reverse-scroll = true
- icon-0 = code;♚
- icon-1 = office;♛
- icon-2 = graphics;♜
- icon-3 = mail;♝
- icon-4 = web;♞
- icon-default = ♟
- [colors]
- transparent = #00000000
- background = #282A2E
- background-alt = #373B41
- foreground = #C5C8C6
- primary = #F0C674
- secondary = #26a69a
- alert = #A54242
- disabled = #707880
- [basebar/settings]
- ; required for ignoring bars in fullscreen
- override-redirect = true
- wm-restack = bspwm
- width = 100%
- height = 15pt
- radius = 8
- background = ${colors.background}
- foreground = ${colors.foreground}
- ; line-size = 30pt
- border-size = 2pt
- border-color = #00000000
- padding-left = 5pt
- padding-right = 5pt
- module-margin = 1
- separator = |
- separator-foreground = ${colors.disabled}
- font-0 = monospace;2
- font-1 = Symbols Nerd Font:style=Regular;2
- cursor-click = pointer
- cursor-scroll = ns-resize
- enable-ipc = true
- tray-position = right
- tray-maxsize = 16
- [bar/time]
- inherit = basebar/settings
- width = 4%
- modules-center = date
- [bar/main]
- inherit = basebar/settings
- offset-x = 5%
- width = 15%
- modules-left = xworkspaces
- [bar/names]
- inherit = basebar/settings
- offset-x = 35%
- width = 27%
- background = ${colors.background}
- foreground = ${colors.secondary}
- border-size = 2pt
- border-color = ${colors.secondary}
- modules-center = xwindow
- [bar/data]
- inherit = basebar/settings
- offset-x = 69%
- width = 31%
- modules-right = updates-pacman-yay pulseaudio memory cpu wlan xkeyboard
- ; eth
- ; modules-right = filesystem pulseaudio xkeyboard memory cpu wlan eth
- [module/xworkspaces]
- type = internal/xworkspaces
- label-active = %name%
- label-active-background = ${colors.background}
- label-active-foreground = ${colors.secondary}
- ; label-active-underline= ${colors.primary}
- label-active-padding = 1
- label-occupied = %name%
- label-occupied-padding = 1
- label-urgent = %name%
- label-urgent-background = ${colors.primary}
- label-urgent-padding = 1
- label-empty = %name%
- label-empty-foreground = ${colors.disabled}
- label-empty-padding = 1
- [module/xwindow]
- type = internal/xwindow
- label = %title:0:60:...%
- [module/pulseaudio]
- type = internal/pulseaudio
- format-volume-prefix = " "
- format-volume-prefix-foreground = ${colors.primary}
- format-volume = <label-volume>
- label-volume = %percentage%%
- label-muted =
- label-muted-foreground = ${colors.disabled}
- [module/xkeyboard]
- type = internal/xkeyboard
- blacklist-0 = num lock
- label-layout = %layout%
- label-layout-foreground = ${colors.primary}
- label-indicator-padding = 2
- label-indicator-margin = 1
- label-indicator-foreground = ${colors.background}
- label-indicator-background = ${colors.secondary}
- [module/memory]
- type = internal/memory
- interval = 2
- format-prefix = " "
- format-prefix-foreground = ${colors.primary}
- label = %percentage_used:2%%
- [module/cpu]
- type = internal/cpu
- interval = 2
- format-prefix = " "
- format-prefix-foreground = ${colors.primary}
- label = %percentage:2%%
- [network-base]
- type = internal/network
- interval = 5
- format-connected = <label-connected>
- format-disconnected = <label-disconnected>
- label-disconnected = %{F#F0C674}%ifname%%{F#707880} disconnected
- [module/wlan]
- inherit = network-base
- interface-type = wireless
- label-connected = %{F#F0C674}%ifname%%{F-} %essid% %local_ip%
- ;; icons: a
- [module/eth]
- inherit = network-base
- interface-type = wired
- label-connected = %{F#F0C674}%ifname%%{F-} %local_ip%
- [module/date]
- type = internal/date
- interval = 1
- date = %H:%M
- date-alt = %Y-%m-%d %H:%M:%S
- label = %date%
- label-foreground = ${colors.secondary}
- [settings]
- screenchange-reload = true
- pseudo-transparency = true
- [module/updates-pacman-yay]
- ; label-foreground =
- type = custom/script
- exec = ~/.config/polybar/scripts/updates-pacman-yay.sh
- interval = 600
- ; vim:ft=dosini
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement