add new polybar theme

This commit is contained in:
ksyasuda
2021-11-14 22:51:43 -08:00
parent 7df36a0437
commit 55de99081a
25 changed files with 3733 additions and 5 deletions

View File

@@ -10,7 +10,9 @@ while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
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 &
# 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.ini" main &
done
else
polybar --reload example &

View File

@@ -8,8 +8,8 @@ if [[ $checkRunning == '' ]]; then
fi
arg=$1
if [[ $arg == 'next' ]]; then
if [[ $arg == 'next' ]] || [[ "$arg" == "-n" ]]; then
echo "怜"
elif [[ $arg == 'prev' ]]; then
elif [[ $arg == 'prev' ]] || [[ "$arg" == "-p" ]]; then
echo "玲"
fi