mirror of
https://github.com/ksyasuda/rice.git
synced 2024-11-22 03:19:58 -08:00
updates
This commit is contained in:
parent
db260fae79
commit
4307fa28db
@ -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 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 = 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
|
||||
; right
|
||||
; none
|
||||
tray-position = none
|
||||
tray-position = center
|
||||
|
||||
; If true, the bar will not shift its
|
||||
; contents when the tray changes
|
||||
|
@ -6,18 +6,18 @@
|
||||
killall -q polybar
|
||||
|
||||
# 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 ~/SudacodeRice/polybar/config.ini main &
|
||||
# polybar -c ~/SudacodeRice/polybar/config.ini main &
|
||||
|
||||
if type "xrandr"; then
|
||||
for m in $(xrandr --query | grep " connected" | cut -d" " -f1); do
|
||||
# MONITOR=$m polybar --reload -c ~/SudacodeRice/polybar/config.desktop.ini main &
|
||||
# update to use new theme
|
||||
MONITOR=$m polybar --reload -c "$HOME/SudacodeRice/polybar-themes/sblocks/config-4k.ini" main &
|
||||
done
|
||||
for m in $(xrandr --query | grep -E " connected" | cut -d" " -f1); do
|
||||
# MONITOR=$m polybar --reload -c ~/SudacodeRice/polybar/config.desktop.ini main &
|
||||
# update to use new theme
|
||||
MONITOR=$m polybar --reload -c "$HOME/SudacodeRice/polybar-themes/sblocks/config-4k.ini" main &
|
||||
done
|
||||
else
|
||||
polybar --reload example &
|
||||
polybar --reload example &
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user