aboutsummaryrefslogtreecommitdiff
path: root/home-manager/i3/scripts/workspaces.sh
blob: 3ad68efbd8a6e0ec63a21956891e96b0c7da0d15 (plain) (blame)
1
2
3
4
5
6
7
choice=$(cat ~/.i3_commands/workspaces.txt | rofi -dmenu -i -p "Which workspace to switch to")
if [[ $1 == "move" ]]
then
	i3-msg move container to workspace \"$choice\"
else
	i3-msg workspace \"$choice\"
fi