feat: rmpc support for muza script
This commit is contained in:
@@ -1,15 +1,22 @@
|
||||
arg=$1
|
||||
if [ -z $arg ]; then
|
||||
arg="ncmpcpp"
|
||||
fi
|
||||
|
||||
if [ $arg != "ncmpcpp" ] && [ $arg != "rmpc" ]; then
|
||||
echo "Unsupported music player '$arg'"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
kitty --single-instance btop &
|
||||
sleep 0.1
|
||||
kitty --single-instance cava &
|
||||
sleep 0.1
|
||||
|
||||
#bspwm_resize contract north 250
|
||||
hyprctl dispatch resizeactive 0 250
|
||||
sleep 0.1
|
||||
#bspwm_resize expand west 100
|
||||
hyprctl dispatch resizeactive -90 0
|
||||
|
||||
hyprctl dispatch movefocus l
|
||||
|
||||
ncmpcpp
|
||||
|
||||
exec $arg
|
||||
|
||||
Reference in New Issue
Block a user