case $1 in
up)
	if [ "$2" -eq "$3" ]; then
		hyprctl dispatch workspace 1
	else
		new=$(($2+1))
		hyprctl dispatch workspace $new
	fi
	;;
down)
	if [ "$2" -eq 1 ]; then
		hyprctl dispatch workspace $3
	else
		new=$(($2-1))
		hyprctl dispatch workspace $new
	fi
	;;
esac
