1#!/usr/bin/env bash 2 3if [ $XDG_SESSION_TYPE = "wayland" ]; then 4 echo "workspace $(~/.config/sway/scripts/get_cur_ws_name.sh)" 5elif [ $XDG_SESSION_TYPE = "x11" ]; then 6 echo "workspace $(~/.config/i3/scripts/get_cur_ws_name.sh)" 7fi 8