feat: rmpc support for muza script

This commit is contained in:
2025-09-26 08:58:43 +03:00
parent a250ee2a48
commit 57fa60f9ba

View File

@@ -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 & kitty --single-instance btop &
sleep 0.1 sleep 0.1
kitty --single-instance cava & kitty --single-instance cava &
sleep 0.1 sleep 0.1
#bspwm_resize contract north 250
hyprctl dispatch resizeactive 0 250 hyprctl dispatch resizeactive 0 250
sleep 0.1 sleep 0.1
#bspwm_resize expand west 100
hyprctl dispatch resizeactive -90 0 hyprctl dispatch resizeactive -90 0
hyprctl dispatch movefocus l hyprctl dispatch movefocus l
ncmpcpp exec $arg