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/jaagr/polybar
- ;
- ; The README contains alot of information
- ;
- ;=====================================================
- [colors]
- background = #222
- background-alt = #444
- foreground = #dfdfdf
- foreground-alt = #55
- primary = #ffb52a
- secondary = #e60053
- alert = #bd2c40
- [global/wm]
- margin-top = 5
- margin-bottom = 5
- [settings]
- screenchange-reload = true
- [bar/example]
- enable-ipc = true
- bottom = false
- monitor = VGA-0
- width = 100%
- height = 27
- modules-left = i3 xwindow
- modules-center = music moc
- modules-right =
- ;background transparent
- ;background = #00000000
- ;Flatabulous Theme
- background = #2D2D2D
- ;Arc Theme
- ;background = #2F343F
- foreground = ${colors.foreground}
- overline-size = 0
- overline-color = #f00
- underline-size = 0
- underline-colori = #00f
- ;border-bottom-size = 1
- ;border-bottom-color = #BBBBBB
- padding-left = 0
- padding-right = 2
- module-margin-left = 1
- module-margin-right = 2
- font-0 = terminus:pixelsize=11;1
- font-1 = unifont:size=8:heavy:fontformat=truetype;-2
- ;font-2 = Wunconsiji:pixelsize=10;0
- font-2 = FontAwesome:size=11;0
- tray-position = right
- tray-padding = 0
- ;tray-transparent = true
- ;scroll-up = i3wm-wsnext
- ;scroll-down = i3wm-wsprev
- click-left = i3wm-wsnext
- click-right = i3wm-wsprev
- [bar/bottom]
- monitor = VGA-0
- bottom = true
- width = 100%
- height = 27
- modules-left = power
- modules-center = cpu coretemps memory filesystem eth
- modules-right = keys date
- ;background transparente
- ;background = #00000000
- ;Flatabulous Master
- background = #2D2D2D
- ;background = #2F343F
- ;background = #2D2D2D
- foreground = ${colors.foreground}
- overline-size = 0
- overline-color = #f00
- underline-size = 0
- underline-colori = #00f
- spacing = 3
- padding-left = 0
- padding-right = 2
- module-margin-left = 1
- module-margin-right = 2
- font-0 = terminus:pixelsize=11;0
- font-1 = unifont:size=8:heavy:fontformat=truetype;-2
- font-2 = Wunconsiji:pixelsize=10;0
- font-3 = FontAwesome:size=11;0
- [module/i3]
- type = internal/i3
- format = <label-state> <label-mode>
- index-sort = true
- enable-click = true
- ;scroll-up = i3wm-wsnext
- ;scroll-down = i3wm-wsprev
- click-left = i3wm-wsprev
- click-right = i3wm-wsnext
- label-active-underline = #BBBBBB
- label-mode-padding = 2
- label-mode-foreground = #BBBBBB
- label-focused =
- ;label-focused =
- label-focused-foreground = #BBBBBB
- label-focused-padding = 3
- label-unfocused =
- label-unfocused-foreground = #747474
- label-unfocused-padding = 1
- label-visible =
- ;label-visible = %icon% %name%
- label-visible-foregroud = #888888
- label-visible-padding = 2
- label-urgent =
- ;label-urgent =
- ;label-urgent =
- label-urgent-padding = 4
- label-urgent-foreground = #FF0000
- label-dimmed-underline = ${BAR.background}
- label-focused-underline = #BBBBBB
- [module/spotify]
- interval = 0.1
- type = custom/script
- exec = /home/zack/.i3/i3blocks/mediaplayer
- tail = true
- label = %output:0:100:...%
- format-prefix = " "
- label-foreground = #BBBBBB
- format-underline = #2D2D2D
- format-foreground = ${colors.foreground}
- format-background = #2D2D2D
- [module/moc]
- interval = 0.1
- type = custom/script
- exec = ~/.i3/i3blocks/moc_title
- label = %output:0:100:...%
- ;format-prefix = "MOC "
- ;background transparent
- format-background = #0000000
- ;format-background = #2D2D2D
- [module/music]
- type = custom/script
- interval = 0.1
- label = %output:0:100:...%
- exec = ~/.config/polybar/mpris.sh
- ;Reference: https://github.com/jaagr/polybar/wiki/User-contributed-modules
- [module/xwindow]
- type = internal/xwindow
- label = %title:0:100:...% %{B- -o -u}
- label-foreground = #BBBBBB
- [module/keys]
- type = custom/script
- interval = 0.05
- exec = ~/.config/polybar/keyindicator -cns -B 2D2D2D-2D2D2D -F 7A0909-747474
- ; script keyindicator: https://goo.gl/hwCPcj
- [module/filesystem]
- type = internal/fs
- interval = 0.1
- mount-0 = /home
- format = <label-mounted> <ramp>
- label-mounted = " %percentage_used%%"
- [module/cpu]
- type = internal/cpu
- interval = 0.3
- format = <bar-load>
- font-1 = Unifont:size=8;-3
- bar-load-gradient = true
- bar-load-width = 10
- bar-load-foreground-0 = #BBBBBB
- bar-load-foreground-1 = #BBBBBB
- bar-load-foreground-2 = #FFFF00
- bar-load-foreground-3 = #FF0000
- bar-load-indicator = ■
- bar-load-indicator-font = 2
- bar-load-indicator-foreground = #55fdf6e3
- bar-load-fill = ■
- bar-load-fill-font = 0
- bar-load-empty = □
- bar-load-empty-font = 0
- ;bar-load-empty-foreground = #99586e75
- bar-load-empty-foreground = #747474
- [module/memory]
- type = internal/memory
- interval = 0.1
- format = <bar-used>
- bar-used-width = 20
- bar-used-foreground-0 = #BBBBBB
- bar-used-foreground-1 = #BBBBBB
- bar-used-foreground-2 = #FFFF00
- bar-used-foreground-3 = #FF0000
- bar-used-fill = |
- bar-used-fill-font = 3
- bar-used-empty = |
- bar-used-empty-font = 3
- bar-used-empty-foreground = #747474
- bar-used-indicator = |
- [module/eth]
- type = internal/network
- interval = 0.1
- interface = enp3s0
- format = <label>
- udspeed-maxxwidth = 3
- downspeed-maxxwidth = 3
- label-connected = %upspeed% %downspeed%
- [module/date]
- type = internal/date
- date =
- date-alt = " %d/%m/%Y |"
- time = %d/%m/%Y %H:%M:%S
- time-alt = %H:%M:%S
- format-prefix =
- format-prefix-foreground = ${colors.foreground-alt}
- format-underline = #0a6cf5
- label = %date% %time%
- [module/volume]
- type = internal/volume
- ;format-volume = <bar-volume>
- format-volume = <ramp-volume> <bar-volume>
- ;label-volume =
- label-volume-foreground = ${root.foreground}
- ;Control scroll mouse
- scroll-up = amixer set Master 2%+
- scroll-down = amixer set Master 2%-
- label-muted =
- label-muted-foreground = #FF0000
- bar-volume-width = 8
- bar-volume-foreground-0 = #BBBBBB
- bar-volume-foreground-1 = #BBBBBB
- bar-volume-foreground-2 = #BBBBBB
- bar-volume-foreground-3 = #BBBBBB
- bar-volume-foreground-4 = #BBBBBB
- bar-volume-foreground-5 = #BBBBBB
- bar-volume-foreground-6 = #ff5555
- bar-volume-gradient = true
- bar-volume-indicator =
- bar-volume-indicator-font = 3
- bar-volume-indicator-foreground = #44
- bar-volume-fill =
- bar-volume-fill-font = 3
- bar-volume-empty =
- bar-volume-empty-font = 3
- bar-volume-empty-foreground = ${colors.foreground-alt}
- ramp-volume-0 =
- ramp-volume-1 =
- ramp-volume-2 =
- [module/temperature]
- type = internal/temperature
- thermal-zone = 0
- warn-temperature = 60
- format = <ramp> <label>
- format-underline = #BBBBBB
- format-warn = <ramp> <label-warn>
- format-warn-underline = ${self.format-underline}
- label = %temperature%
- label-warn = %temperature%
- label-foreground = #FF0000
- ramp-0 =
- ramp-1 =
- ramp-2 =
- ramp-foreground = ${colors.foreground-alt}
- [module/coretemps]
- type = custom/script
- exec-if = sensors
- exec = sensors | grep Core | awk '{print substr($3, 2, 2)}' | tr '\n' ' ' | sed 's/ /°C /g' | sed 's/ $//'
- format-prefix = " "
- format-prefix-foreground = #BBBBBB
- ;Reference: https://github.com/jaagr/polybar/wiki/User-contributed-modules
- [module/power]
- type = custom/menu
- format = <label-toggle> <menu>
- format-underline = ${colors.primary}
- format-padding = 2
- menu-0-0 = Rofi
- menu-0-0-foreground = #BBBBBB
- menu-0-0-exec = exec rofi -sidebar-mode -show run -line 3 -eh 2 -width 70 -padding 100 -opacity "70" -bw 0 -bc -font "FontAwesome 11" -rnow -no-disable-history -no-levenshtein-sort -only-match -kb-mode-next Alt+Left
- menu-0-1 = Menu
- menu-0-1-foreground = #BBBBBB
- menu-0-1-exec = exec ~/.i3/scripts/menu.sh
- label-open =
- label-close =
- label-close-foreground = #FF0000
- label-separator = |
- [module/mail]
- type = custom/script
- interval = 0.1
- format = <label>
- format-prefix = " "
- format-prefix-foreground = #BBBBBB
- exec = ~/.config/polybar/mail
- ;Reference: https://github.com/jaagr/polybar/wiki/User-contributed-modules
- [module/weather]
- type = custom/script
- interval = 0.1
- format = <label>
- format-prefix = " "
- format-prefix-foreground = #BBBBBB
- exec = ~/.config/polybar/weather
- ;Reference: https://github.com/jaagr/polybar/wiki/User-contributed-modules
- ; vim:ft=dosini
Add Comment
Please, Sign In to add comment