Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [colors]
- background = #292d3e
- foreground = #bfc7d5
- yellow = #ffcb6b
- black = #073642
- white = #bfc7d5
- red = #ac4142
- green = #a9c77d
- blue = #82aaff
- magenta = #c792ea
- cyan = #89ddff
- [bar/master]
- width = 100%
- height = 40
- separator = " "
- background = ${colors.background}
- foreground = ${colors.foreground}
- underline-size = 0
- overline-size = 0
- font-0 = "DejaVu Sans Mono:pixelsize=15:antialias=false;1"
- font-1 = "FontAwesome:pixelsize=15:antialias=false;1"
- [bar/top]
- monitor = HDMI-A-0
- inherit = bar/master
- modules-left = mpd
- modules-center = title
- modules-right = ovpn network ram cpu temperature pavolume xkeyboard time powermenu
- padding-right = 1
- [module/ovpn]
- type = internal/network
- interface = enp2s0
- interval = 3.0
- exec-if = pgrep openvpn
- format-connected-padding = 1
- format-disconnected-padding = 1
- format-connected = <label-connected>
- label-connected =
- label-connected-foreground = ${colors.cyan}
- label-disconnected =
- label-disconnected-foreground = ${colors.red}
- [module/pavolume]
- type = custom/script
- interval = 2
- exec = ~/.config/polybar/pavolume.sh
- click-right = exec pavucontrol
- click-left = ~/.config/polybar/pavolume.sh --togmute
- scroll-up = ~/.config/polybar/pavolume.sh --up
- scroll-down = ~/.config/polybar/pavolume.sh --down
- label = %output%
- label-foreground = ${colors.yellow}
- format-padding = 1
- [module/temperature]
- type = internal/temperature
- thermal-zone = 2
- format = <ramp> <label>
- format-padding = 1
- label-foreground = ${colors.green}
- ramp-0 =
- ramp-1 =
- ramp-2 =
- ramp-foreground = ${colors.green}
- [module/network]
- type = internal/network
- interface = enp2s0
- ping-interval = 3
- accumlate-stats = true
- [module/title]
- type = internal/xwindow
- label = %title%
- label-maxlen = 75
- [module/ram]
- type = internal/memory
- interval = 3
- label-foreground = ${colors.blue}
- label-padding = 1
- format-prefix = ""
- format-prefix-foreground = ${colors.blue}
- format-padding = 1
- [module/cpu]
- type = internal/cpu
- interval = 1
- label-foreground = ${colors.cyan}
- label-padding = 1
- format-prefix = ""
- format-prefix-foreground = ${colors.cyan}
- format-padding = 1
- [module/wm]
- type = internal/i3
- enable-click = true
- enable-scroll = false
- strip-wsnumbers = true
- format-padding = 1
- label-focused-foreground = ${colors.magenta}
- label-focused-padding = 1
- label-unfocused-padding = 1
- label-visible-padding = 1
- label-urgent-foreground = ${colors.red}
- label-urgent-padding = 1
- [module/time]
- type = internal/date
- interval = 40
- label-foreground = ${colors.magenta}
- date = "%I:%M %p"
- format-prefix =
- format-prefix-foreground = ${colors.magenta}
- format-padding = 1
- [module/mpd]
- type = internal/mpd
- label-song = %artist% - %title% - %album%
- label-song-maxlen = 100
- label-song-ellipsis = true
- format-online = <label-song><toggle>
- # <icon-prev> <icon-seekb> <toggle> <icon-seekf> <icon-next> <icon-random> <icon-repeat>
- label-song-foreground = ${colors.cyan}
- label-padding = 1
- label-song-background = ${colors.background}
- icon-pause-background = ${self.label-song-background}
- icon-play-background = ${self.label-song-background}
- icon-pause-foreground = ${self.label-song-foreground}
- icon-play-foreground = ${self.label-song-foreground}
- label-song-padding = 2
- icon-pause-padding-right = 2
- icon-play-padding-right = 2
- icon-prev =
- icon-seekb =
- icon-stop =
- icon-pause =
- icon-play =
- icon-next =
- icon-seekf =
- icon-random =
- icon-repeat =
- toggle-off-foreground = ${colors.grey}
- toggle-on-foreground = ${colors.red}
- [module/powermenu]
- type = custom/menu
- format-spacing = 1
- label-open =
- label-open-foreground = ${colors.cyan}
- label-close = Cancel
- label-close-foreground = ${colors.blue}
- label-separator = |
- label-separator-foreground = ${colors.magenta}
- menu-1-0 = Logout
- menu-1-0-exec = exit
- menu-1-1 = Reboot
- menu-1-1-exec = systemctl reboot
- menu-1-2 = Shutdown
- menu-1-2-exec = systemctl poweroff
- ;menu-1-0 = Cancel
- ;menu-1-0-exec = menu-open-0
- ;menu-1-1 = Logout
- ;menu-1-1-exec = sudo logout
- ;menu-2-0 = Cancel
- ;menu-2-0-exec = menu-open-0
- ;menu-2-1 = Reboot
- ;menu-2-1-exec = sudo reboot
- ;menu-3-0 = Cancel
- ;menu-3-0-exec = menu-open-0
- ;menu-3-1 = Shutdown
- ;menu-3-1-exec = sudo poweroff
- [module/xkeyboard]
- type = internal/xkeyboard
- blacklist-0 = num lock
- format-prefix = " "
- format-prefix-foreground = ${colors.blue}
- ;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.cyan}
- ;label-indicator-underline = ${colors.secondary}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement