Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [colors]
- ;background = #00000000
- ;background-alt = #99333333
- ;foreground = #dadfe1
- ;foreground-alt = #555
- ;primary = #5c72f4
- ;secondary = #6ef9f9
- ;alert = #751715
- background = ${xrdb:color0:#222}
- background-alt = ${xrdb:color0:#222}
- foreground = ${xrdb:color7:#222}
- foreground-alt = ${xrdb:color7:#222}
- primary = ${xrdb:color1:#222}
- secondary = ${xrdb:color2:#222}
- alert = ${xrdb:color3:#222}
- [bar/top]
- bottom = false
- width = 100%
- height = 36
- radius = 0.0
- fixed-center = true
- background = ${colors.background}
- foreground = ${colors.foreground}
- line-size = 3
- line-color = #f00
- border-size = 0
- border-color = #00000000
- padding-left = 0
- padding-right = 4
- module-margin-left = 3
- module-margin-right = 3
- font-0 = "Ubuntu Nerd Font:style=Regular:size=10:antialias=true;1"
- modules-left = i3 xwindow
- modules-center = spotify-previous spotify-playpause spotify-next spotify
- modules-right = xkeyboard pulseaudio date network memory cpu temperature powermenu
- tray-position = right
- tray-padding = 2
- wm-restack = i3
- ;override-redirect = true
- scroll-up = i3wm-wsprev
- scroll-down = i3wm-wsnext
- [module/xwindow]
- type = internal/xwindow
- label = %title:0:64:...%
- [module/easteregg-pornhub]
- type = custom/script
- exec = echo " hub "
- interval = 3600
- click-left = "firefox https://pornhub.com/random"
- [module/xkeyboard]
- type = internal/xkeyboard
- blacklist-0 = num lock
- format-prefix =
- format-prefix-foreground = ${colors.foreground-alt}
- format-prefix-underline = ${colors.primary}
- label-layout =
- label-layout-underline = ${colors.primary}
- label-indicator-padding = 2
- label-indicator-margin = 1
- label-indicator-foreground = ${colors.foreground}
- label-indicator-background = ${colors.primary}
- label-indicator-underline = ${colors.primary}
- [module/i3]
- type = internal/i3
- format = <label-state> <label-mode>
- index-sort = true
- wrapping-scroll = true
- strip-wsnumbers = true
- label-mode = %mode%
- label-mode-padding = 4
- label-mode-foreground = ${colors.foreground}
- label-mode-background = ${colors.primary}
- label-focused = %name%
- label-focused-background = ${colors.background-alt}
- label-focused-underline = ${colors.primary}
- label-focused-padding = 4
- label-unfocused = %name%
- label-unfocused-padding = 4
- label-visible = V %index%
- label-visible-background = ${self.label-focused-background}
- label-visible-underline = ${self.label-focused-background}
- label-visible-padding = ${self.label-focused-padding}
- label-urgent =
- label-urgent-background = ${colors.alert}
- label-urgent-padding = 4
- [module/cpu]
- type = internal/cpu
- interval = 2
- format-prefix = " "
- format-prefix-foreground = ${colors.foreground-alt}
- format-underline = #00000000
- label = %percentage%%
- [module/memory]
- type = internal/memory
- interval = 2
- format-prefix = " "
- format-prefix-foreground = ${colors.foreground-alt}
- format-underline = #00000000
- label = %percentage_used%%
- [module/network]
- type = internal/network
- interface = wlp5s0
- interval = 3.0
- format-connected = <ramp-signal> <label-connected>
- format-connected-underline = #00000000
- label-connected = " %essid%"
- format-disconnected = <label-disconnected>
- format-disconnected-underline = ${colors.alert}
- label-disconnected = xx.xx.xx.xx
- 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/spotify]
- type = custom/script
- interval = 2
- exec-if = pgrep -x spotify
- exec = ~/.config/polybar/scripts/spotify
- format-padding = 5
- format-background = ${colors.background}
- [module/spotify-playpause]
- type = custom/script
- interval = 0
- exec-if = pgrep -x spotify
- exec = ~/.config/polybar/scripts/spotify-playpause
- click-left = playerctl play-pause
- format-padding = 3
- format-background = ${colors.background-alt}
- format-foreground = ${colors.foreground}
- [module/spotify-previous]
- type = custom/script
- exec-if = pgrep -x spotify
- exec = echo ""
- click-left = playerctl previous
- format-padding = 3
- format-background = ${colors.background-alt}
- format-foreground = ${colors.foreground}
- [module/spotify-next]
- type = custom/script
- exec-if = pgrep -x spotify
- exec = echo ""
- click-left = playerctl next
- format-padding = 3
- format-background = ${colors.background-alt}
- format-foreground = ${colors.foreground}
- [module/date]
- type = internal/date
- interval = 5
- date =
- date-alt = " %Y-%m-%d"
- time = %I:%M %p
- time-alt = %H:%M:%S
- format-prefix =
- format-prefix-foreground = ${colors.foreground-alt}
- format-underline = #00000000
- label = %date% %time%
- [module/temperature]
- type = internal/temperature
- thermal-zone = 0
- warn-temperature = 55
- format = <ramp> <label>
- format-underline = #00000000
- format-warn = <ramp> <label-warn>
- format-warn-underline = ${self.format-underline}
- label = %temperature-c%
- label-warn = %temperature-c%
- label-warn-foreground = ${colors.foreground}
- label-warn-background = ${colors.alert}
- label-warn-padding = 2
- ramp-0 =
- ramp-1 =
- ramp-2 =
- ramp-foreground = ${colors.foreground-alt}
- [module/powermenu]
- type = custom/menu
- format-spacing = 1
- label-open =
- label-open-foreground = ${colors.foreground}
- label-close = cancel
- label-close-foreground = ${colors.primary}
- 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 = reboot
- menu-2-0 = power off
- menu-2-0-exec = poweroff
- menu-2-1 = cancel
- menu-2-1-exec = menu-open-0
- [module/pulseaudio]
- type = internal/pulseaudio
- format-volume = <label-volume> <bar-volume>
- label-volume = VOL
- label-volume-foreground = ${colors.foreground}
- format-muted-prefix = " "
- format-muted-foreground = ${colors.foreground-alt}
- label-muted = sound muted
- bar-volume-width = 16
- 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 = true
- bar-volume-indicator = |
- bar-volume-fill = –
- bar-volume-empty = –
- [settings]
- screenchange-reload = true
- ;compositing-background = xor
- ;compositing-background = screen
- ;compositing-foreground = source
- ;compositing-border = over
- [global/wm]
- margin-top = 0
- margin-bottom = 0
Advertisement
Add Comment
Please, Sign In to add comment