23 lines
361 B
Bash
Executable File
23 lines
361 B
Bash
Executable File
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
|
|
|
|
hyprctl dispatch resizeactive 0 250
|
|
sleep 0.1
|
|
hyprctl dispatch resizeactive -90 0
|
|
|
|
hyprctl dispatch movefocus l
|
|
|
|
exec $arg
|