123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215 |
- ;==========================================================
- ;
- ;
- ; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗
- ; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗
- ; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝
- ; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗
- ; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║
- ; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝
- ;
- ;
- ; 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 = #2E3440
- background-alt = #ffffff
- ;foreground = ${xrdb:color7:#222}
- foreground = #D8DEE9
- foreground-alt = #bf616a
- primary = #bf616a
- secondary = #bf616a
- alert = #bf616a
- [bar/example]
- ;monitor = ${env:MONITOR:HDMI-1}
- width = 100%
- height = 27
- ;offset-x = 0%
- ;offset-y = 0%
- radius = 0.0
- fixed-center = false
- background = ${colors.background}
- foreground = ${colors.foreground}
- line-size = 0
- line-color = #f00
- border-size = 0
- border-color = #00000000
- padding-left = 2
- padding-right = 5
- module-margin-left = 1
- module-margin-right = 2
- #font-0 = fixed:pixelsize=10;1
- font-0 = JetBrainsMono-Bold Font:pixelsize=12;1
- font-1 = unifont:fontformat=truetype:size=8:antialias=false;1
- font-2 = siji:pixelsize=10;1
- font-3 = FontAwesome:pixelsize=14;1
- font-4 = JetBrainsMono-Bold Font:pixelsize=12;1
- modules-left = i3
- modules-center = cmus
- modules-right = openweathermap-fullfeatured xkeyboard pulseaudio date
- #tray-position = right
- #tray-padding = 2
- ;tray-background = #0063ff
- ;wm-restack = bspwm
- ;wm-restack = i3
- ;override-redirect = true
- ;scroll-up = bspwm-desknext
- ;scroll-down = bspwm-deskprev
- ;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
- fuzzy-match = true
- ws-icon-0 = 1;
- ws-icon-1 = 2;
- ws-icon-2 = 3;
- ws-icon-3 = 4;
- ws-icon-4 = 5;
- ws-icon-5 = 6;
- ws-icon-6 = 7;
- ws-icon-7 = 8;
- ws-icon-8 = 9;
- ; Only show workspaces on the same output as the bar
- pin-workspaces = true
- label-mode-padding = 4
- label-mode-foreground = #000
- label-mode-background = ${colors.primary}
- ; focused = Active workspace on focused monitor
- label-focused = %icon%
- label-focused-foreground = #e5eaf0
- label-focused-padding = 2
- ; unfocused = Inactive workspace on any monitor
- label-unfocused = %icon%
- label-unfocused-padding = 2
- label-unfocused-foreground = #4c566a
- ; 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 = ${colors.alert}
- label-urgent-padding = 2
- ; Separator in between workspaces
- ; label-separator = |
- [module/date]
- type = internal/date
- interval = 5
- date =
- date-alt = "%Y-%m-%d"
- time = "%H:%M"
- time-alt = %H:%M:%S
- format-prefix =""
- format-prefix-foreground = #4c566a
- label =%date% %time%
- label-foreground = #d8dee9
- label-font = 0
- [module/pulseaudio]
- type = internal/pulseaudio
- format-volume = <ramp-volume> <label-volume>
- label-volume = %percentage%%
- ramp-volume-0 =
- ramp-volume-0-foreground = #4c566a
- ramp-volume-1 =
- ramp-volume-1-foreground = #4c566a
- ramp-volume-2 =
- ramp-volume-2-foreground = #4c566a
- label-muted = 🔇 muted
- label-muted-foreground = #666
- format-underline = ${colors.four}
- label-foreground = #d8dee9
- label-font = 0
- [module/cmus]
- type = custom/script
- exec = ~/.config/polybar/cmus.sh
- exec-if = pgrep -x cmus
- interval = 1
- click-left = cmus-remote --pause
- click-right = cmus-remote --play
- scroll-up = cmus-remote --next
- scroll-down = cmus-remote --prev
- format-prefix = " "
- format-prefix-foreground = #4c566a
- format = <label>
- label-foreground = #d8dee9
- format-background = #2E3440
- label = %output%
- label-maxlen = 100
- [module/openweathermap-fullfeatured]
- type = custom/script
- exec = /home/owl/.config/polybar/openweathermap-fullfeatured.sh
- interval = 600
- label-font = 0
- label-foreground = #d8dee9
- format-prefix =""
- format-prefix-foreground = #4c566a
- [module/xkeyboard]
- type = internal/xkeyboard
- blacklist-0 = num lock
- blacklist-1 = caps lock
- label-layout = %layout%
- label-layout-foreground = #d8dee9
- label-layout-background = #2E3440
- label-font = 4
- format-prefix = " "
- format-prefix-foreground = #4c566a
- ; vim:ft=dosini
|