2024-11-05 19:28:07 +00:00
|
|
|
|
;==========================================================
|
|
|
|
|
;
|
|
|
|
|
;
|
|
|
|
|
; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗
|
|
|
|
|
; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗
|
|
|
|
|
; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝
|
|
|
|
|
; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗
|
|
|
|
|
; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║
|
|
|
|
|
; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝
|
|
|
|
|
;
|
|
|
|
|
;
|
|
|
|
|
; To learn more about how to configure Polybar
|
|
|
|
|
; go to https://github.com/polybar/polybar
|
|
|
|
|
;
|
|
|
|
|
; The README contains a lot of information
|
|
|
|
|
;
|
|
|
|
|
;==========================================================
|
|
|
|
|
|
|
|
|
|
[settings]
|
|
|
|
|
screenchange-reload = true
|
|
|
|
|
;compositing-background = xor
|
|
|
|
|
;compositing-background = screen
|
|
|
|
|
;compositing-foreground = source
|
|
|
|
|
;compositing-border = over
|
2024-11-07 02:14:15 +00:00
|
|
|
|
;pseudo-transparency = true
|
2024-11-05 19:28:07 +00:00
|
|
|
|
|
|
|
|
|
[global/wm]
|
|
|
|
|
margin-top = 0
|
|
|
|
|
margin-bottom = 0
|
|
|
|
|
|
|
|
|
|
; vim:ft=dosini
|
|
|
|
|
|
|
|
|
|
[bar/mainbar]
|
|
|
|
|
scroll-up = #bspwm.prev
|
|
|
|
|
scroll-down = #bspwm.next
|
|
|
|
|
enable-structs = true
|
|
|
|
|
# monitor = "DisplayPort-1"
|
|
|
|
|
background = ${xrdb:background}
|
|
|
|
|
foreground = ${xrdb:foreground}
|
|
|
|
|
override-redirect = true
|
|
|
|
|
wm-restack = bspwm
|
2024-11-07 02:16:41 +00:00
|
|
|
|
font-0 = Olympe Mono Hacked:style=Regular:pixelsize=20;2
|
|
|
|
|
font-1 = CaskaydiaCove Nerd Font:style=Regular:pixelsize=20:2
|
|
|
|
|
font-2 = NotoColorEmoji:pixelsize=20
|
|
|
|
|
font-3 = Font Awesome 6 Brands:style=Regular:size=20;2
|
|
|
|
|
font-4 = Font Awesome 6 Free Solid:style=Regular:size=20;2
|
|
|
|
|
height = 36
|
2024-11-05 19:28:07 +00:00
|
|
|
|
line-size = 2
|
|
|
|
|
modules-left = bspwm
|
2024-11-07 02:07:46 +00:00
|
|
|
|
modules-right = music memory filesystem xkeyboard network redshift pulseaudio backlight tray battery datetime
|
|
|
|
|
padding = 0
|
2024-11-05 19:28:07 +00:00
|
|
|
|
module-margin = 1.5
|
|
|
|
|
|
2024-11-07 02:07:46 +00:00
|
|
|
|
[module/tray]
|
|
|
|
|
type = internal/tray
|
2024-11-05 19:28:07 +00:00
|
|
|
|
|
2024-11-07 02:07:46 +00:00
|
|
|
|
[module/xkeyboard]
|
|
|
|
|
type = internal/xkeyboard
|
|
|
|
|
format = <label-layout>
|
|
|
|
|
|
|
|
|
|
[module/filesystem]
|
|
|
|
|
type = internal/fs
|
|
|
|
|
mount-0 = /
|
|
|
|
|
format-mounted = <label-mounted>
|
|
|
|
|
label-mounted = %used% / %total%
|
|
|
|
|
|
|
|
|
|
[module/memory]
|
|
|
|
|
type = internal/memory
|
|
|
|
|
format = <label>
|
|
|
|
|
label = %used%
|
2024-11-05 19:28:07 +00:00
|
|
|
|
[module/bspwm]
|
|
|
|
|
type = internal/bspwm
|
|
|
|
|
|
2024-11-07 02:07:46 +00:00
|
|
|
|
label-focused = %icon%
|
2024-11-05 19:28:07 +00:00
|
|
|
|
label-focused-underline= ${xrdb:foreground}
|
2024-11-07 02:07:46 +00:00
|
|
|
|
label-focused-background = ${xrdb:foreground}
|
2024-11-07 02:14:15 +00:00
|
|
|
|
label-focused-foreground = ${xrdb:background}
|
2024-11-05 19:28:07 +00:00
|
|
|
|
label-focused-padding = 1
|
|
|
|
|
label-focused-font = 0
|
|
|
|
|
|
2024-11-07 02:07:46 +00:00
|
|
|
|
label-occupied = %icon%
|
2024-11-05 19:28:07 +00:00
|
|
|
|
label-occupied-padding = 1
|
|
|
|
|
label-occupied-font = 0
|
2024-11-07 02:14:15 +00:00
|
|
|
|
label-occupied-underline= ${xrdb:foreground}
|
2024-11-05 19:28:07 +00:00
|
|
|
|
|
2024-11-07 02:07:46 +00:00
|
|
|
|
label-urgent = %icon%
|
2024-11-05 19:28:07 +00:00
|
|
|
|
label-urgent-padding = 1
|
|
|
|
|
label-urgent-font = 0
|
2024-11-07 02:14:15 +00:00
|
|
|
|
label-urgent-background = ${xrdb:color1}
|
|
|
|
|
label-urgent-underline = ${xrdb:color1}
|
2024-11-05 19:28:07 +00:00
|
|
|
|
|
2024-11-07 02:07:46 +00:00
|
|
|
|
label-empty = %icon%
|
2024-11-05 19:28:07 +00:00
|
|
|
|
label-empty-padding = 1
|
|
|
|
|
label-empty-font = 0
|
|
|
|
|
;extra icons to choose from
|
|
|
|
|
;http://fontawesome.io/cheatsheet/
|
|
|
|
|
; v
|
|
|
|
|
|
2024-11-07 02:14:15 +00:00
|
|
|
|
# ws-icon-0 = 1;
|
|
|
|
|
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;ט
|
2024-11-05 19:28:07 +00:00
|
|
|
|
;ws-icon-9 = 10;
|
|
|
|
|
ws-icon-default = " "
|
|
|
|
|
|
|
|
|
|
#; Separator in between workspaces
|
2024-11-07 02:07:46 +00:00
|
|
|
|
# label-separator = |
|
2024-11-05 19:28:07 +00:00
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
;[module/music]
|
|
|
|
|
;type = custom/script
|
|
|
|
|
;exec = /home/mikec/.scripts/get_song.sh
|
|
|
|
|
;interval = 0.5
|
|
|
|
|
;click-left = playerctl play-pause
|
|
|
|
|
;click-right = playerctl stop
|
|
|
|
|
;scroll-down = playerctl next
|
|
|
|
|
;scroll-up = playerctl previous
|
|
|
|
|
|
|
|
|
|
[module/battery]
|
|
|
|
|
type = internal/battery
|
2024-11-07 02:07:46 +00:00
|
|
|
|
battery = BAT1
|
2024-11-05 19:28:07 +00:00
|
|
|
|
adapter = ADP0
|
2024-11-07 02:07:46 +00:00
|
|
|
|
format-charging = <label-charging>
|
|
|
|
|
format-discharging = <ramp-capacity> <label-discharging>
|
|
|
|
|
label-discharging = %percentage%%
|
|
|
|
|
label-charging = %percentage%%
|
|
|
|
|
label-full = %percentage%%
|
|
|
|
|
# ramp-capacity-0 = ""
|
|
|
|
|
ramp-capacity-0 = ""
|
|
|
|
|
# ramp-capacity-1 = ""
|
|
|
|
|
ramp-capacity-1 = ""
|
|
|
|
|
# ramp-capacity-2 = ""
|
|
|
|
|
ramp-capacity-2 = ""
|
|
|
|
|
# ramp-capacity-3 = ""
|
|
|
|
|
ramp-capacity-3 = ""
|
|
|
|
|
# ramp-capacity-4 = ""
|
|
|
|
|
ramp-capacity-4 = ""
|
|
|
|
|
|
|
|
|
|
[module/backlight]
|
|
|
|
|
type = internal/backlight
|
|
|
|
|
format = <label>
|
2024-11-05 19:28:07 +00:00
|
|
|
|
[module/pulseaudio]
|
|
|
|
|
type = internal/pulseaudio
|
|
|
|
|
|
|
|
|
|
; Sink to be used, if it exists (find using `pacmd list-sinks`, name field)
|
|
|
|
|
; If not, uses default sink
|
|
|
|
|
|
|
|
|
|
; Use PA_VOLUME_UI_MAX (~153%) if true, or PA_VOLUME_NORM (100%) if false
|
|
|
|
|
; Default: true
|
|
|
|
|
use-ui-max = false
|
|
|
|
|
|
|
|
|
|
; Interval for volume increase/decrease (in percent points)
|
|
|
|
|
; Default: 5
|
|
|
|
|
interval = 5
|
|
|
|
|
; Available tags:
|
|
|
|
|
; <label-volume> (default)
|
|
|
|
|
; <ramp-volume>
|
|
|
|
|
; <bar-volume>
|
2024-11-07 02:07:46 +00:00
|
|
|
|
format-volume = <ramp-volume> <label-volume>
|
2024-11-05 19:28:07 +00:00
|
|
|
|
; Available tags:
|
|
|
|
|
; <label-muted> (default)
|
|
|
|
|
; <ramp-volume>
|
|
|
|
|
; <bar-volume>
|
|
|
|
|
;format-muted = <label-muted>
|
|
|
|
|
|
|
|
|
|
; Available tokens:
|
|
|
|
|
; %percentage% (default)
|
|
|
|
|
; %decibels%
|
|
|
|
|
label-volume = %percentage%%
|
|
|
|
|
|
|
|
|
|
; Available tokens:
|
|
|
|
|
; %percentage% (default)
|
|
|
|
|
; %decibels%
|
2024-11-07 02:07:46 +00:00
|
|
|
|
label-muted = %percentage%%
|
2024-11-05 19:28:07 +00:00
|
|
|
|
|
|
|
|
|
; Only applies if <ramp-volume> is used
|
|
|
|
|
ramp-volume-0 =
|
|
|
|
|
ramp-volume-1 =
|
|
|
|
|
ramp-volume-2 =
|
|
|
|
|
|
|
|
|
|
; Right and Middle click
|
2024-11-07 02:07:46 +00:00
|
|
|
|
click-right = st -e pulsemixer
|
2024-11-05 19:28:07 +00:00
|
|
|
|
; click-middle =
|
|
|
|
|
|
|
|
|
|
[module/network]
|
|
|
|
|
type = internal/network
|
2024-11-07 02:07:46 +00:00
|
|
|
|
interface = wlan0
|
|
|
|
|
label-disconnected = ""
|
|
|
|
|
label-connected = " %essid%:%local_ip%"
|
|
|
|
|
click-left = st -e iwctl
|
2024-11-05 19:28:07 +00:00
|
|
|
|
|
|
|
|
|
[module/redshift]
|
|
|
|
|
type = custom/text
|
|
|
|
|
content = ""
|
|
|
|
|
click-left = redshift -O 4300
|
|
|
|
|
click-right = redshift -x
|
|
|
|
|
|
|
|
|
|
[module/datetime]
|
|
|
|
|
type = internal/date
|
2024-11-07 02:07:46 +00:00
|
|
|
|
date = %a %b %d %I:%M:%S %p
|