#!/bin/bash
current=$1
direction=$2
if [ "$direction" = "up" ]; then
  swaymsg workspace number $((current + 1))
elif [ "$direction" = "down" ]; then
  swaymsg workspace number $((current - 1))
fi
