Add mounnted directory
This commit is contained in:
parent
34772b35fa
commit
ca5253116d
16
polybar.org
16
polybar.org
@ -62,7 +62,7 @@ font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
|
|||||||
|
|
||||||
modules-left = i3 xwindow
|
modules-left = i3 xwindow
|
||||||
modules-center =
|
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
|
# wm-restack = i3
|
||||||
|
|
||||||
@ -213,7 +213,7 @@ label = %date% %time%
|
|||||||
[module/pulseaudio]
|
[module/pulseaudio]
|
||||||
type = internal/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
|
# Open pavucontrol on left right
|
||||||
format-volume =%{A1:pavucontrol &:}<label-volume> <bar-volume>%{A}
|
format-volume =%{A1:pavucontrol &:}<label-volume> <bar-volume>%{A}
|
||||||
@ -922,6 +922,18 @@ exec = ~/.config/polybar/scripts/drive-status.sh unix_home U
|
|||||||
interval = 5
|
interval = 5
|
||||||
#+END_SRC
|
#+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 = <label>
|
||||||
|
exec = ~/.config/polybar/scripts/drive-status.sh monochromators M
|
||||||
|
|
||||||
|
interval = 5
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
#+BEGIN_SRC conf
|
#+BEGIN_SRC conf
|
||||||
[module/drive_data_id21]
|
[module/drive_data_id21]
|
||||||
type = custom/script
|
type = custom/script
|
||||||
|
Loading…
Reference in New Issue
Block a user