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/jaagr/polybar
- ;
- ; The README contains alot of information
- ;
- ;==========================================================
- [colors]
- ;background = ${xrdb:color0:#222}
- background = #212121
- background-alt = #444
- ;foreground = ${xrdb:color7:#222}
- foreground = #dfdfdf
- foreground-alt = #555
- primary = #ffb52a
- secondary = #e60053
- alert = #bd2c40
- [bar/traybar]
- width = 100%
- height = 20
- radius = 0.0
- bottom = true
- font-0 = fixed:pixelsize=12;1
- modules-center = dummy
- background = #00000000
- foreground = ${colors.foreground}
- tray-position = right
- tray-padding = 2
- tray-scale = 1
- override-redirect = true
- wm-restack = i3
- [bar/mainbar]
- ;monitor = ${env:MONITOR:HDMI-1}
- width = 100%
- height = 32
- ;offset-x = 1%
- ;offset-y = 1%
- radius = 0.0
- fixed-center = true
- background = ${colors.background}
- foreground = ${colors.foreground}
- ; workspace underline
- line-size = 3
- line-color = #f00
- border-top-size = 15
- border-left-size = 30
- border-right-size = 30
- border-color = #00000000
- padding-left = 0
- padding-right = 2
- module-margin-left = 1
- module-margin-right = 2
- font-0 = fixed:pixelsize=12;1
- font-1 = unifont:fontformat=truetype:size=10:antialias=false;0
- font-2 = siji:pixelsize=20;1
- font-3 = FontAwesome:style=Regular:pixelsize=15;1
- font-4 = Font Awesome 5 Free Solid:style=Solid:pixelsize=12;1
- font-5 = Font Awesome 5 Brands Regular:style=Regular:pixelsize=11;1
- font-6 = icomoon:style=Regular:pixelsize=15;1
- modules-left = i3
- modules-center = time
- modules-right = pulseaudio memory eth temperature date
- ;tray-position = right
- tray-padding = 2
- tray-scale = 1
- ;tray-detached = true
- tray-maxsize = 21
- ;tray-offset-x = -350
- ;tray-offset-y = -2
- ;tray-background = #00000000
- ;wm-restack = i3
- ;override-redirect = true
- scroll-up = i3wm-wsnext
- scroll-down = i3wm-wsprev
- cursor-click = pointer
- ;not needed
- [module/bspwm]
- type = internal/bspwm
- label-focused = %index%
- label-focused-background = ${colors.background-alt}
- label-focused-underline= ${colors.primary}
- label-focused-padding = 2
- label-occupied = %index%
- label-occupied-padding = 2
- label-urgent = %index%!
- label-urgent-background = ${colors.alert}
- label-urgent-padding = 2
- label-empty = %index%
- label-empty-foreground = ${colors.foreground-alt}
- label-empty-padding = 2
- ; Separator in between workspaces
- ;label-separator = |
- [module/i3]
- type = internal/i3
- format = <label-state> <label-mode>
- index-sort = true
- wrapping-scroll = true
- ws-icon-0 = "1;"
- ws-icon-1 = "2;"
- ws-icon-2 = "3;"
- ws-icon-3 = "4;4"
- ws-icon-4 = "5;5"
- ws-icon-5 = "6;6"
- ws-icon-6 = "7;7"
- ws-icon-7 = "8;8"
- ws-icon-8 = "9;9"
- ws-icon-9 = "10;"
- ; Only show workspaces on the same output as the bar
- ;pin-workspaces = true
- label-mode-padding = 2
- label-mode-foreground = #000
- label-mode-background = ${colors.primary}
- ; focused = Active workspace on focused monitor
- label-focused = %icon%
- label-focused-background = ${module/bspwm.label-focused-background}
- label-focused-underline = ${module/bspwm.label-focused-underline}
- label-focused-padding = ${module/bspwm.label-focused-padding}
- ; unfocused = Inactive workspace on any monitor
- label-unfocused = %icon%
- label-unfocused-padding = ${module/bspwm.label-occupied-padding}
- ; visible = Active workspace on unfocused monitor
- label-visible = %icon%
- 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 = %icon%
- label-urgent-background = ${module/bspwm.label-urgent-background}
- label-urgent-padding = ${module/bspwm.label-urgent-padding}
- ; Separator in between workspaces
- ;label-separator = |
- ;modify
- [module/cpu]
- type = internal/cpu
- interval = 2
- format-prefix = " "
- format-prefix-foreground = ${colors.foreground}
- label = %percentage:2%%
- ;modify
- [module/memory]
- type = internal/memory
- interval = 2
- format-prefix = " "
- format-prefix-foreground = ${colors.foreground}
- label = %gb_used:2GB%
- ;modify
- [module/eth]
- type = internal/network
- interface = enp3s0
- interval = 1
- format-connected-prefix-foreground = ${colors.foreground}
- label-connected = ""
- label-disconnected = ""
- label-disconnected-foreground = ${colors.foreground-alt}
- ;modify
- [module/date]
- type = internal/date
- interval = 5
- format-foreground = ${colors.foreground}
- date = %a %d/%m
- [module/time]
- type = internal/date
- interval = 5
- format-foreground = ${colors.foreground}
- date = %I:%M %p
- ;modify
- [module/pulseaudio]
- type = internal/pulseaudio
- sink = alsa_output.pci-0000_01_00.1.hdmi-stereo
- format-volume = <label-volume>
- label-volume = %percentage%%
- label-volume-foreground = ${root.foreground}
- label-muted = %percentage%%
- ;modify
- [module/temperature]
- type = internal/temperature
- thermal-zone = 0
- warn-temperature = 60
- format = <ramp> <label>
- format-underline = #f50a4d
- format-warn = <ramp> <label-warn>
- format-warn-underline = ${self.format-underline}
- label = %temperature-c%
- label-warn = %temperature-c%
- label-warn-foreground = ${colors.secondary}
- ramp-0 =
- ramp-1 =
- ramp-2 =
- ramp-foreground = ${colors.foreground-alt}
- [module/powermenu]
- type = custom/menu
- expand-right = true
- format-spacing = 1
- label-open =
- label-open-foreground = ${colors.secondary}
- label-close = cancel
- label-close-foreground = ${colors.secondary}
- 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 = sudo reboot
- menu-2-0 = power off
- menu-2-0-exec = sudo poweroff
- menu-2-1 = cancel
- menu-2-1-exec = menu-open-0
- [module/dummy]
- type = internal/date
- interval = 60
- format-foreground = #00000000
- date = 0
- [settings]
- screenchange-reload = true
- ;compositing-background = xor
- ;compositing-background = screen
- ;compositing-foreground = source
- ;compositing-border = over
- ;pseudo-transparency = true
- [global/wm]
- margin-top = 0
- margin-bottom = 0
- ; vim:ft=dosini
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement