2024-11-06

This commit is contained in:
fz0x1 2024-11-06 21:28:27 +00:00
parent dfd3191ee9
commit 7d9e95fafa
9 changed files with 70 additions and 32 deletions

View file

@ -26,6 +26,7 @@ alert = #A54242
disabled = #707880
[bar/fz0x1]
monitor = ${env:MONITOR:HDMI-1-0}
width = 100%
height = 24pt
radius = 6
@ -48,13 +49,17 @@ module-margin = 1
separator =
separator-foreground = ${colors.disabled}
# font-0 = JetBrainsMono Nerd Font Mono:style=Regular;2
font-0 = BigBlueTermPlus Nerd Font:size=10:style=Regular;2
font-1 = Noto Color Emoji:scale=8;2
font-2 = JetBrainsMono Nerd Font Mono:size=21:style=Regular;2
font-0 = JetBrainsMono Nerd Font Mono:size=9:style=Regular;2
font-1 = JetBrainsMono Nerd Font Mono:size=18:style=Regular;3
; font-0 = BigBlueTermPlus Nerd Font:size=10:style=Regular;2
font-2 = "Font Awesome 6 Free"
; font-3 = "Font Awesome 6 Free:style=Solid:pixelsize=10;2"
; font-4 = "Font Awesome 6 Brands:pixelsize=10;2"
; font-1 = Noto Color Emoji:scale=8;2
; font-2 = JetBrainsMono Nerd Font Mono:size=21:style=Regular;2
modules-left = i3 xwindow
modules-right = pulseaudio xkeyboard wlan backlight systray date
modules-right = pulseaudio xkeyboard wlan systray date
cursor-click = pointer
cursor-scroll = ns-resize
@ -116,9 +121,9 @@ ws-icon-default = 󰇀
[module/systray]
type = internal/tray
tray-padding = 0px
tray-padding = 3px
#tray-background = #dd576574
tray-size = 100%
tray-size = 50%
[module/xworkspaces]
type = internal/xworkspaces
@ -202,7 +207,7 @@ type = internal/backlight
; Use the following command to list available cards:
; $ ls -1 /sys/class/backlight/
; Default: first usable card in /sys/class/backlight (new in version 3.7.0)
card = nvidia_0
card = nvidia_wmi_ec_backlight
; Use the `/sys/class/backlight/.../actual-brightness` file
; rather than the regular `brightness` file.

View file

@ -4,6 +4,6 @@ killall -q polybar
# Wait until the processes have been shut down
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
# Launch the bar
polybar -c ~/.config/polybar/config.ini &
sleep 1
MONITOR="HDMI-1-0" polybar --reload fz0x1 -c ~/.config/polybar/config.ini &