2024-07-28 17:43:30 -07:00
|
|
|
include-file = ~/.config/polybar/colors.ini
|
2024-07-28 17:37:13 -07:00
|
|
|
|
|
|
|
|
|
|
|
[global/wm]
|
|
|
|
margin-top = 0
|
|
|
|
margin-bottom = 0
|
|
|
|
[wm]
|
|
|
|
name = i3
|
|
|
|
|
|
|
|
##########################
|
|
|
|
### Bars
|
|
|
|
##########################
|
|
|
|
|
|
|
|
[bar/first]
|
|
|
|
|
|
|
|
# Postioning and stuff
|
|
|
|
top = true
|
|
|
|
fixed-center = true
|
|
|
|
width = 20%
|
|
|
|
height = 30
|
|
|
|
wm-restack = ${wm.name}
|
|
|
|
override-redirect = true
|
|
|
|
|
|
|
|
#Offsets
|
|
|
|
offset-x = 2%
|
|
|
|
offset-y = 5
|
|
|
|
|
|
|
|
#Colors
|
|
|
|
background = ${colors.background}
|
|
|
|
foreground = ${colors.foreground}
|
|
|
|
|
2024-07-28 17:47:41 -07:00
|
|
|
#Font
|
|
|
|
font-0 = FairiesevkaSans Nerd Font Propo;2
|
|
|
|
font-1 = FairiesevkaSans Nerd Font Propo;4
|
2024-07-28 17:37:13 -07:00
|
|
|
line-size = 3
|
|
|
|
line-color = ${colors.primary}
|
|
|
|
|
|
|
|
#Borders
|
|
|
|
border-size = 2
|
|
|
|
border-color = ${colors.background}
|
|
|
|
radius = 10.0
|
|
|
|
|
|
|
|
#Padding
|
|
|
|
padding-left = 10px
|
|
|
|
padding-right = 25px
|
|
|
|
|
|
|
|
#Modules
|
|
|
|
module-margin-left = 10px
|
|
|
|
module-margin-right = 10px
|
|
|
|
|
|
|
|
#modules-left = xworkspaces
|
|
|
|
#modules-center = cpu memory player songname
|
2024-07-28 17:47:41 -07:00
|
|
|
#modules-right = battery date pulseaudio
|
2024-07-28 17:37:13 -07:00
|
|
|
|
|
|
|
modules-left = launcher
|
2024-07-28 17:47:41 -07:00
|
|
|
modules-center = xworkspaces
|
2024-07-28 17:37:13 -07:00
|
|
|
modules-right = date
|
|
|
|
|
|
|
|
[bar/second]
|
|
|
|
|
|
|
|
offset-x = 30%
|
|
|
|
offset-y = 5
|
2024-07-28 17:47:41 -07:00
|
|
|
width = 12%
|
2024-07-28 17:37:13 -07:00
|
|
|
|
|
|
|
# Postioning and stuff
|
|
|
|
top = true
|
|
|
|
fixed-center = true
|
|
|
|
height = 30
|
|
|
|
wm-restack = ${wm.name}
|
|
|
|
override-redirect = true
|
|
|
|
|
|
|
|
#Colors
|
|
|
|
background = ${colors.background}
|
|
|
|
foreground = ${colors.foreground}
|
|
|
|
|
|
|
|
#Font
|
2024-07-28 17:47:41 -07:00
|
|
|
font-0 = FairiesevkaSans Nerd Font Propo;2
|
2024-07-28 17:37:13 -07:00
|
|
|
line-size = 3
|
|
|
|
line-color = ${colors.primary}
|
|
|
|
|
|
|
|
#Borders
|
|
|
|
border-size = 2
|
|
|
|
border-color = ${colors.background}
|
|
|
|
radius = 10.0
|
|
|
|
|
|
|
|
#Padding
|
|
|
|
padding-left = 10px
|
|
|
|
padding-right = 25px
|
|
|
|
|
|
|
|
#Modules
|
|
|
|
module-margin-left = 10px
|
|
|
|
module-margin-right = 10px
|
|
|
|
modules-center = cpu memory
|
|
|
|
|
|
|
|
#modules-left = xworkspaces
|
|
|
|
#modules-center = cpu memory player songname
|
|
|
|
#modules-right = battery date pulseaudio
|
|
|
|
|
|
|
|
[bar/third]
|
|
|
|
# Postioning and stuff
|
|
|
|
top = true
|
|
|
|
fixed-center = true
|
|
|
|
width = 20%
|
|
|
|
height = 30
|
|
|
|
wm-restack = ${wm.name}
|
|
|
|
override-redirect = true
|
|
|
|
|
|
|
|
#Offsets
|
|
|
|
offset-x = 49%
|
|
|
|
offset-y = 5
|
|
|
|
|
|
|
|
#Colors
|
|
|
|
background = ${colors.background}
|
|
|
|
foreground = ${colors.foreground}
|
|
|
|
|
|
|
|
#Font
|
2024-07-28 17:47:41 -07:00
|
|
|
font-0 = FairiesevkaSans Nerd Font Propo;2
|
2024-07-28 17:37:13 -07:00
|
|
|
line-size = 3
|
|
|
|
line-color = ${colors.primary}
|
|
|
|
|
|
|
|
#Borders
|
|
|
|
border-size = 2
|
|
|
|
border-color = ${colors.background}
|
|
|
|
radius = 10.0
|
|
|
|
|
|
|
|
#Padding
|
|
|
|
padding-left = 25px
|
|
|
|
padding-right = 25px
|
|
|
|
|
|
|
|
#Modules
|
|
|
|
module-margin-left = 10px
|
|
|
|
module-margin-right = 10px
|
|
|
|
|
|
|
|
#modules-left = xworkspaces
|
|
|
|
#modules-center = cpu memory player songname
|
|
|
|
#modules-right = battery date pulseaudio
|
|
|
|
|
|
|
|
modules-center = player songname
|
|
|
|
|
|
|
|
[bar/fourth]
|
|
|
|
|
|
|
|
# Postioning and stuff
|
|
|
|
top = true
|
|
|
|
fixed-center = true
|
|
|
|
width = 20%
|
|
|
|
height = 30
|
|
|
|
wm-restack = ${wm.name}
|
|
|
|
override-redirect = true
|
|
|
|
|
|
|
|
#Offsets
|
|
|
|
offset-x = 78%
|
|
|
|
offset-y = 5
|
|
|
|
|
|
|
|
#Colors
|
|
|
|
background = ${colors.background}
|
|
|
|
foreground = ${colors.foreground}
|
|
|
|
|
|
|
|
#Font
|
2024-07-28 17:43:30 -07:00
|
|
|
font-0 = FairiesevkaSans Nerd Font Propo;2
|
|
|
|
font-1 = FairiesevkaSans Nerd Font Propo;4
|
2024-07-28 17:37:13 -07:00
|
|
|
line-size = 3
|
|
|
|
line-color = ${colors.primary}
|
|
|
|
|
|
|
|
#Borders
|
|
|
|
border-size = 2
|
|
|
|
border-color = ${colors.background}
|
|
|
|
radius = 10.0
|
|
|
|
|
|
|
|
#Padding
|
|
|
|
padding-left = 30px
|
|
|
|
padding-right = 25px
|
|
|
|
|
|
|
|
#Modules
|
|
|
|
module-margin-left = 10px
|
|
|
|
module-margin-right = 10px
|
|
|
|
|
|
|
|
#modules-left = xworkspaces
|
|
|
|
#modules-center = cpu memory player songname
|
|
|
|
#modules-right = battery date alsa
|
|
|
|
|
2024-07-28 17:43:30 -07:00
|
|
|
modules-left = pulseaudio
|
2024-07-28 17:37:13 -07:00
|
|
|
modules-center = brightness
|
|
|
|
modules-right = wifi powermenu
|
|
|
|
|
|
|
|
############################################################################
|
|
|
|
## ALL MODULES ##############################################################
|
|
|
|
##############################################################################
|
|
|
|
[module/xworkspaces]
|
|
|
|
type= internal/xworkspaces
|
|
|
|
label-active = %name%
|
|
|
|
label-active-foreground = ${colors.primary}
|
|
|
|
label-active-padding = 5px
|
|
|
|
label-active-underline = ${colors.primary}
|
|
|
|
label-active-background = ${colors.background}
|
|
|
|
|
|
|
|
label-occupied = %name%
|
|
|
|
label-occupied-padding = 5px
|
|
|
|
|
|
|
|
label-urgent = %name%
|
|
|
|
label-urgent-background = ${colors.background}
|
|
|
|
label-urgent-padding = 5px
|
|
|
|
|
|
|
|
|
|
|
|
label-empty = %name%
|
|
|
|
|
|
|
|
label-empty-foreground = ${colors.disabled}
|
|
|
|
|
|
|
|
label-empty-padding = 5px
|
|
|
|
|
|
|
|
[module/cpu]
|
|
|
|
type = internal/cpu
|
|
|
|
interval = 2
|
|
|
|
warn-percentage = 95
|
|
|
|
;label = %percentage%%
|
|
|
|
|
|
|
|
format = <ramp-load> <label>
|
|
|
|
label = %percentage%%
|
|
|
|
label-warning = %percentage%%
|
|
|
|
|
2024-07-28 17:47:41 -07:00
|
|
|
ramp-load-0 =
|
|
|
|
ramp-load-1 =
|
|
|
|
ramp-load-2 =
|
|
|
|
ramp-load-3 =
|
|
|
|
ramp-load-4 =
|
|
|
|
ramp-load-5 =
|
|
|
|
ramp-load-6 =
|
|
|
|
ramp-load-7 =
|
2024-07-28 17:37:13 -07:00
|
|
|
|
|
|
|
ramp-load-foreground = ${colors.primary}
|
|
|
|
|
|
|
|
|
|
|
|
[module/memory]
|
|
|
|
type=internal/memory
|
|
|
|
interval =1
|
|
|
|
warn-percentage=95
|
|
|
|
;label = %percentage_used%%
|
|
|
|
|
|
|
|
format= <ramp-used> <label>
|
|
|
|
|
|
|
|
label = %mb_used%
|
|
|
|
label-warn = %mb_used%
|
|
|
|
|
2024-07-28 17:47:41 -07:00
|
|
|
ramp-used-0 =
|
|
|
|
ramp-used-1 =
|
|
|
|
ramp-used-2 =
|
|
|
|
ramp-used-3 =
|
|
|
|
ramp-used-4 =
|
|
|
|
ramp-used-5 =
|
|
|
|
ramp-used-6 =
|
|
|
|
ramp-used-7 =
|
2024-07-28 17:37:13 -07:00
|
|
|
|
|
|
|
ramp-used-foreground = ${colors.primary}
|
|
|
|
[module/date]
|
|
|
|
type = internal/date
|
|
|
|
interval = 1.0
|
|
|
|
; See "https://en.cppreference.com/w/cpp/io/manip/put_time" for details on how to format the date string
|
|
|
|
; NOTE: if you want to use syntax tags here you need to use %%{...}
|
|
|
|
time = " %I:%M %p"
|
|
|
|
time-alt = " %a, %d %b %Y"
|
|
|
|
|
|
|
|
format = <label>
|
|
|
|
label = %time%
|
|
|
|
|
|
|
|
#### INFO ####
|
|
|
|
[module/battery]
|
|
|
|
type = internal/battery
|
|
|
|
battery = BAT0
|
|
|
|
adapter = ADP1
|
|
|
|
poll-interval = 1
|
|
|
|
full-at = 99
|
|
|
|
time-format = %H:%M
|
|
|
|
format-charging = <animation-charging> <label-charging>
|
|
|
|
|
|
|
|
format-discharging = <ramp-capacity> <label-discharging>
|
|
|
|
|
|
|
|
format-full = <label-full>
|
|
|
|
format-full-prefix =
|
|
|
|
|
|
|
|
label-charging = "%percentage%%"
|
|
|
|
label-discharging = "%percentage%%"
|
|
|
|
|
|
|
|
label-full = " Full"
|
|
|
|
|
|
|
|
ramp-capacity-0 =
|
|
|
|
ramp-capacity-1 =
|
|
|
|
ramp-capacity-2 =
|
|
|
|
ramp-capacity-3 =
|
|
|
|
ramp-capacity-4 =
|
|
|
|
ramp-capacity-5 =
|
|
|
|
ramp-capacity-6 =
|
|
|
|
ramp-capacity-7 =
|
|
|
|
ramp-capacity-8 =
|
|
|
|
ramp-capacity-9 =
|
|
|
|
ramp-capacity-foreground = ${colors.primary}
|
|
|
|
|
|
|
|
animation-charging-0 =
|
|
|
|
animation-charging-1 =
|
|
|
|
animation-charging-framerate = 750
|
|
|
|
|
|
|
|
[module/network]
|
|
|
|
type = internal/network
|
2024-07-28 17:43:30 -07:00
|
|
|
interface = enp4s0
|
2024-07-28 17:37:13 -07:00
|
|
|
interval = 3.0
|
|
|
|
accumulate-stats = true
|
|
|
|
unknown-as-up = true
|
|
|
|
format-connected = <ramp-signal> <label-connected>
|
|
|
|
format-disconnected = <label-disconnected>
|
|
|
|
format-disconnected-prefix =
|
|
|
|
format-disconnected-foreground = ${colors.alert}
|
|
|
|
format-connected-foreground = ${colors.primary}
|
|
|
|
label-connected = ""
|
|
|
|
label-disconnected = "%{A1:networkmanager_dmenu &:} Offline%{A}"
|
|
|
|
|
|
|
|
ramp-signal-0 =
|
|
|
|
ramp-signal-1 =
|
|
|
|
ramp-signal-2 =
|
|
|
|
|
|
|
|
[module/wifi]
|
|
|
|
type = custom/text
|
|
|
|
format = <label>
|
|
|
|
label =
|
|
|
|
label-padding = 2
|
2024-07-28 17:47:41 -07:00
|
|
|
label-background= ${colors.background}
|
2024-07-28 17:37:13 -07:00
|
|
|
label-foreground= ${colors.primary}
|
|
|
|
|
2024-07-28 17:43:30 -07:00
|
|
|
click-left = ~/.config/polybar/scripts/wifi-menu.sh
|
2024-07-28 17:37:13 -07:00
|
|
|
|
|
|
|
[module/pulseaudio]
|
|
|
|
type = internal/pulseaudio
|
|
|
|
|
|
|
|
format-volume = <ramp-volume> <label-volume>
|
|
|
|
|
|
|
|
label-volume = %percentage%%
|
|
|
|
|
|
|
|
label-muted = Muted
|
|
|
|
label-muted-foreground = ${colors.disabled}
|
|
|
|
|
|
|
|
ramp-volume-0 =
|
|
|
|
ramp-volume-1 =
|
|
|
|
ramp-volume-2 =
|
|
|
|
ramp-volume-foreground = ${colors.primary}
|
|
|
|
click-right = pavucontrol
|
|
|
|
|
|
|
|
[module/alsa]
|
|
|
|
type = internal/alsa
|
|
|
|
master-soundcard = default
|
|
|
|
speaker-soundcard = default
|
|
|
|
headphone-soundcard = default
|
|
|
|
master-mixer = Master
|
|
|
|
|
|
|
|
interval = 5
|
|
|
|
format-volume = <ramp-volume> <label-volume>
|
|
|
|
format-muted = <label-muted>
|
|
|
|
format-muted-prefix =
|
|
|
|
|
|
|
|
label-volume = %percentage%%
|
|
|
|
label-muted = " Muted"
|
|
|
|
label-muted-foreground = ${colors.disabled}
|
|
|
|
label-volume-foreground = ${colors.foreground}
|
|
|
|
|
|
|
|
ramp-volume-0 =
|
|
|
|
ramp-volume-1 =
|
|
|
|
ramp-volume-2 =
|
|
|
|
ramp-volume-foreground = ${colors.primary}
|
|
|
|
ramp-headphones-0 =
|
|
|
|
|
|
|
|
|
|
|
|
[module/brightness]
|
|
|
|
type = custom/text
|
|
|
|
|
|
|
|
enable-scroll =true
|
|
|
|
|
|
|
|
format = <label>
|
|
|
|
label =
|
|
|
|
label-background = ${colors.background}
|
|
|
|
label-foreground = ${colors.primary}
|
|
|
|
label-font = 2
|
|
|
|
label-padding = 2
|
|
|
|
|
2024-07-28 17:43:30 -07:00
|
|
|
click-left = ~/.config/polybar/scripts/backlight.sh up
|
|
|
|
click-right = ~/.config/polybar/srcipts/backlight.sh down
|
2024-07-28 17:37:13 -07:00
|
|
|
|
2024-07-28 17:43:30 -07:00
|
|
|
scroll-up = ~/.config/polybar/scripts/backlight.sh up
|
|
|
|
scroll-down = ~/.config/polybar/scripts/backlight.sh down
|
2024-07-28 17:37:13 -07:00
|
|
|
|
|
|
|
|
|
|
|
[module/launcher]
|
|
|
|
type = custom/text
|
|
|
|
format = <label>
|
2024-07-28 17:47:41 -07:00
|
|
|
label =
|
2024-07-28 17:37:13 -07:00
|
|
|
label-font = 2
|
|
|
|
label-background = ${colors.background}
|
|
|
|
label-foreground = ${colors.foreground}
|
2024-07-28 17:47:41 -07:00
|
|
|
label-padding = 1
|
2024-07-28 17:37:13 -07:00
|
|
|
|
2024-07-28 17:43:30 -07:00
|
|
|
click-left = ~/.config/polybar/scripts/launcher.sh &
|
2024-07-28 17:37:13 -07:00
|
|
|
|
|
|
|
[module/powermenu]
|
|
|
|
type = custom/text
|
|
|
|
format = <label>
|
|
|
|
label =
|
|
|
|
label-font = 1
|
|
|
|
label-background = ${colors.background}
|
|
|
|
label-foreground = ${colors.primary}
|
|
|
|
|
2024-07-28 17:43:30 -07:00
|
|
|
click-left = ~/.config/polybar/scripts/powermenu.sh
|
2024-07-28 17:37:13 -07:00
|
|
|
|
|
|
|
[module/player]
|
|
|
|
type = custom/script
|
2024-07-28 17:43:30 -07:00
|
|
|
exec = ~/.config/polybar/scripts/player.sh
|
2024-07-28 17:37:13 -07:00
|
|
|
interval = 0.5
|
|
|
|
|
|
|
|
|
|
|
|
[module/songname]
|
|
|
|
type = custom/script
|
2024-07-28 17:43:30 -07:00
|
|
|
exec = ~/.config/polybar/scripts/songname.sh
|
2024-07-28 17:37:13 -07:00
|
|
|
interval = 3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[settings]
|
|
|
|
|
|
|
|
screen-reload = false
|
|
|
|
|
|
|
|
compositing-background = source
|
|
|
|
compositing-foreground = over
|
|
|
|
compositing-overline = over
|
|
|
|
compositing-underline = over
|
|
|
|
compositing-border = over
|
|
|
|
|
|
|
|
pseudo-transparency = true
|