mirror of
https://github.com/ksyasuda/rice.git
synced 2025-12-05 08:53:38 -08:00
add new polybar theme
This commit is contained in:
@@ -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 &
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user