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 = ${xrdb:color0:#222}
- background-alt = ${xrdb:color0:#222}
- foreground = ${xrdb:color7:#222}
- foreground-alt = ${xrdb:color7:#222}
- alert = ${xrdb:color14:#222}
- transpbar = #66000000
- primary = ${xrdb:color1:#222}
- secondary = ${xrdb:color2:#222}
- 3 = ${xrdb:color4:#222}
- 4 = ${xrdb:color6:#222}
- 5 = ${xrdb:color8:#222}
- 6 = ${xrdb:color9:#222}
- 7 = ${xrdb:color11:#222}
- 8 = ${xrdb:color13:#222}
- [bar/top]
- ;monitor = ${env:MONITOR:HDMI-1}
- width = 100%
- height = 26
- ;offset-x = 1%
- ;offset-y = 8
- ;radius = 8.0
- fixed-center = true
- ;dock = true
- ;GREY TRANSPARENT
- background = #88000000
- ;background = ${colors.background}
- foreground = ${colors.foreground}
- line-size = 3
- line-color = #f00
- border-top-size = 4
- border-right-size = 2
- border-bottom-size = 5
- border-left-size = 2
- ;border-color = ${colors.background}
- border-color = #88000000
- padding-left = 1
- padding-right = 1
- module-margin-left = 1
- module-margin-right = 0
- font-0 = Manjari:style=Bold:size=13;4
- font-1 = Font Awesome 5 Free:style=Regular:size=12;2
- font-2 = Font Awesome 5 Free:style=Solid:size=12;2
- font-3 = Font Awesome 5 Brands:size=12;2
- font-4 = Manjari:size=18;5
- modules-left = i3 player-moc
- modules-center =
- modules-right = wlan ovpn-isrunning pulseaudio cpuold tempcgpu memory date
- tray-position = right
- tray-padding = 1
- tray-maxsize = 25
- tray-background = #88000000
- ;tray-background = ${colors.background}
- scroll-up = i3wm-wsnext
- scroll-down = i3wm-wsprev
- ;cursor-click = pointer
- ;cursor-scroll = ns-resize
- [module/i3]
- type = internal/i3
- format = <label-state> <label-mode>
- index-sort = true
- wrapping-scroll = false
- strip-wsnumbers = true
- ; Only show workspaces on the same output as the bar
- pin-workspaces = true
- label-mode-padding = 2
- label-mode-foreground = ${colors.foreground}
- ;label-mode-background = #22EEEEEE
- label-mode-background = ${colors.6}
- ;label-mode-background = ${colors.secondary}
- ; focused = Active workspace on focused monitor
- label-focused = %name%
- label-focused-background = ${colors.6}
- ;label-focused-background = ${colors.secondary}
- ;label-focused-background = ${colors.background-alt}
- ;label-focused-underline= ${colors.primary}
- label-focused-padding = 2
- ; unfocused = Inactive workspace on any monitor
- label-unfocused = %name%
- label-unfocused-padding = 2
- ; visible = Active workspace on unfocused monitor
- label-visible = %name%
- label-visible-background = ${self.label-focused-background}
- ;label-visible-underline = ${self.label-focused-underline}
- label-visible-padding = ${self.label-focused-padding}
- ; urgent = Workspace with urgency hint set
- label-urgent = %name%
- label-urgent-foreground = ${colors.foreground}
- ;label-urgent-background = ${colors.alert}
- ;label-urgent-background = ${colors.7}
- label-urgent-background = ${colors.secondary}
- label-urgent-padding = 2
- ; Separator in between workspaces
- label-separator = " "
- [module/kernel]
- type = custom/script
- exec = uname -r
- format-prefix = " "
- format-offset = 10
- [module/player-moc]
- type = custom/script
- exec = ~/.config/polybar/player-moc.sh
- interval = 0.8
- click-left = mocp -f
- click-right = mocp -r
- click-middle = mocp -G
- format-offset = 20
- #format-prefix = " "
- format-padding = 2
- [module/ovpn-isrunning]
- type = custom/script
- exec = ~/.config/polybar/ovpn-isrunning.sh
- interval = 1
- format-prefix = " "
- format-underline = ${colors.8}
- format-padding = 2
- [module/tempcgpu]
- type = custom/script
- exec = ~/.config/polybar/temp.sh
- inteval = 2
- click-left = urxvt -e watch -n1 nvidia-smi &
- format-prefix = " "
- format-underline = ${colors.7}
- format-padding = 2
- [module/cpu]
- type = custom/script
- exec = ~/.config/polybar/cpuinfo.sh
- interval = 2
- format-prefix = " "
- format-prefix-foreground = ${colors.foreground-alt}
- format-underline = ${colors.3}
- ;format-background = ${colors.3}
- format-padding = 2
- [module/cpuold]
- type = internal/cpu
- interval = 2
- format-prefix = " "
- format-prefix-foreground = ${colors.foreground-alt}
- format-underline = ${colors.3}
- ;format-background = ${colors.3}
- format-padding = 2
- label = %percentage%%
- [module/memory]
- type = internal/memory
- interval = 2
- format-prefix = " "
- format-prefix-foreground = ${colors.foreground-alt}
- format-underline = ${colors.5}
- ;format-background = ${colors.5}
- format-padding = 2
- label = %gb_used%
- ;label = %mb_used%
- [module/wlan]
- type = internal/network
- interface = wlp5s0
- interval = 1.0
- format-connected = <label-connected>
- format-connected-underline = ${colors.4}
- ;format-connected-background = ${colors.4}
- format-connected-padding = 2
- label-connected = %upspeed% %downspeed%
- 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 = 1
- date = "%A %dth"
- date-alt = "%d.%m.%y "
- time = %H:%M
- time-alt = %H:%M:%S
- format-prefix = " "
- format-prefix-foreground = ${colors.foreground-alt}
- ;format-background = ${colors.alert}
- format-underline = ${colors.alert}
- format-padding = 2
- label = %date% %time%
- [module/pulseaudio]
- type = internal/pulseaudio
- format-volume = <label-volume>
- format-volume-underline = ${colors.6}
- ;format-volume-background = ${colors.6}
- format-volume-padding = 2
- ;format-muted-background = ${colors.6}
- format-muted-padding = 2
- label-volume = %percentage%%
- label-volume-foreground = ${root.foreground}
- label-muted = Muted
- label-muted-foreground = ${colors.alert}
- bar-volume-width = 8
- 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 = 1
- bar-volume-fill = ─
- bar-volume-fill-font = 1
- bar-volume-empty = ─
- bar-volume-empty-font = 1
- 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 = true
- [global/wm]
- margin-top = 8
- margin-bottom = 8
- ; vim:ft=dosini
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement