polybar: config

This commit is contained in:
Michael Grote 2021-07-01 08:05:39 +02:00
parent f693541b50
commit 2b078f67fc
2 changed files with 2 additions and 3 deletions

View file

@ -172,7 +172,6 @@ format-disconnected =
[module/alsa] [module/alsa]
type = internal/alsa type = internal/alsa
format-volume = <bar-volume> format-volume = <bar-volume>
;label-volume = VOL
label-volume-foreground = ${root.foreground} label-volume-foreground = ${root.foreground}
format-muted-prefix = " " format-muted-prefix = " "
format-muted-foreground = ${colors.foreground-alt} format-muted-foreground = ${colors.foreground-alt}

View file

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
BAR_HEIGHT=22 # polybar height BAR_HEIGHT=25 # polybar height
BORDER_SIZE=1 # border size from your wm settings BORDER_SIZE=1 # border size from your wm settings
YAD_WIDTH=222 # 222 is minimum possible value YAD_WIDTH=222 # 222 is minimum possible value
YAD_HEIGHT=193 # 193 is minimum possible value YAD_HEIGHT=193 # 193 is minimum possible value
@ -32,7 +32,7 @@ case "$1" in
fi fi
yad --calendar --undecorated --fixed --close-on-unfocus --no-buttons \ yad --calendar --undecorated --fixed --close-on-unfocus --no-buttons \
--width="$YAD_WIDTH" --height="$YAD_HEIGHT" --posx="$pos_x" --posy="$pos_y" \ --width="$YAD_WIDTH" --height="$YAD_HEIGHT" --posx="$pos_y" --posy="$pos_y" \
--title="yad-calendar" --borders=0 >/dev/null & --title="yad-calendar" --borders=0 >/dev/null &
;; ;;
*) *)