diff --git a/polybar.org b/polybar.org index 688a13f..cdcce2e 100644 --- a/polybar.org +++ b/polybar.org @@ -62,7 +62,7 @@ font-1 = unifont:fontformat=truetype:size=8:antialias=false;0 modules-left = i3 xwindow modules-center = -modules-right = pulseaudio drive_tmp drive_homelab drive_groupshare drive_data_id21 drive_unix_home dunst cursor unread_mail calendar battery date +modules-right = pulseaudio drive_monochromator drive_tmp drive_homelab drive_groupshare drive_data_id21 drive_unix_home dunst cursor unread_mail calendar battery date # wm-restack = i3 @@ -213,7 +213,7 @@ label = %date% %time% [module/pulseaudio] type = internal/pulseaudio -sink = alsa_output.pci-0000_00_1f.3.analog-stereo +sink = alsa_output.pci-0000_00_1f.3-platform-sof_sdw.HiFi__hw_sofsoundwire_2__sink # Open pavucontrol on left right format-volume =%{A1:pavucontrol &:} %{A} @@ -922,6 +922,18 @@ exec = ~/.config/polybar/scripts/drive-status.sh unix_home U interval = 5 #+END_SRC +#+BEGIN_SRC conf +[module/drive_monochromator] +type = custom/script + +format-underline = ${colors.bg} +click-left = ~/.local/bin/mount-dir monochromators >/dev/null 2>%1 & +format =