This commit is contained in:
ksyasuda 2022-03-01 00:20:28 -08:00
parent db260fae79
commit 4307fa28db
2 changed files with 11 additions and 10 deletions

View File

@ -147,9 +147,10 @@ font-3 = "Source Han Sans JP:size=8;3"
; modules-left = sep menu sep workspaces sep cust-mpd-prev custom-mpd cust-mpd-next ; modules-left = sep menu sep workspaces sep cust-mpd-prev custom-mpd cust-mpd-next
modules-left = sep launcher sep bspwm-workspaces chrome flameshot color-picker sep cust-mpd-icon cust-mpd-prev custom-mpd cust-mpd-next modules-left = sep launcher sep bspwm-workspaces chrome flameshot color-picker sep cust-mpd-icon cust-mpd-prev custom-mpd cust-mpd-next
modules-center = title-icon title package-updates-trigger package-updates ; modules-center = title-icon title package-updates-trigger package-updates
modules-center =
; modules-right = color-switch sep alsa sep battery sep network sep date sep sysmenu sep ; modules-right = color-switch sep alsa sep battery sep network sep date sep sysmenu sep
modules-right = sep bluetooth-4k sep pulseaudio sep battery sep network sep date weather sep sysmenu sep modules-right = package-updates-trigger package-updates bluetooth-4k sep pulseaudio sep battery sep network sep date weather sep sysmenu sep
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
@ -180,7 +181,7 @@ locale = en_US.UTF-8
; center ; center
; right ; right
; none ; none
tray-position = none tray-position = center
; If true, the bar will not shift its ; If true, the bar will not shift its
; contents when the tray changes ; contents when the tray changes

View File

@ -6,14 +6,14 @@
killall -q polybar killall -q polybar
# Wait until the processes have been shut down # Wait until the processes have been shut down
while pgrep -u "$UID" -x polybar >/dev/null; do sleep 1; done while pgrep -u "$UID" -x polybar > /dev/null; do sleep 1; done
# polybar -c ~/i3/configs/config.ini main & # polybar -c ~/i3/configs/config.ini main &
# polybar -c ~/SudacodeRice/polybar/config.ini main & # polybar -c ~/SudacodeRice/polybar/config.ini main &
# polybar -c ~/SudacodeRice/polybar/config.ini main & # polybar -c ~/SudacodeRice/polybar/config.ini main &
if type "xrandr"; then if type "xrandr"; then
for m in $(xrandr --query | grep " connected" | cut -d" " -f1); do for m in $(xrandr --query | grep -E " connected" | cut -d" " -f1); do
# MONITOR=$m polybar --reload -c ~/SudacodeRice/polybar/config.desktop.ini main & # MONITOR=$m polybar --reload -c ~/SudacodeRice/polybar/config.desktop.ini main &
# update to use new theme # update to use new theme
MONITOR=$m polybar --reload -c "$HOME/SudacodeRice/polybar-themes/sblocks/config-4k.ini" main & MONITOR=$m polybar --reload -c "$HOME/SudacodeRice/polybar-themes/sblocks/config-4k.ini" main &