#!/bin/bash

swaymsg workspace number '39:'
connected_displays=`swaymsg -rt get_outputs | jq .[].name`
if echo "${connected_displays}" | grep -q 'DP-7';then
  swaymsg move workspace to output DP-7
elif echo "${connected_displays}" | grep -q 'DP-6';then
  swaymsg move workspace to output DP-6
elif echo "${connected_displays}" | grep -q 'HDMI-A-1';then
  swaymsg move workspace to output HDMI-A-1
fi

librewolf-profile Work 'https://library.lanecc.edu/' \
'https://inside.lanecc.edu/sites/default/files/pg/map_2024_ltr.pdf' \
'https://lanecc.libcal.com/allspaces' \
'https://library.lanecc.edu/study-rooms#maps'

swaymsg move window to workspace number '39:'
