dotfiles/templates/bin/wsr
Adam Gausmann 906441df7a sway: add more workspace commands
- wsc (#Q) - move all numbered workspaces to the center
- wsn (#Y) - new named workspace
- wsr (#+Y) - rename current workspace
2024-08-28 10:35:28 -05:00

6 lines
105 B
Bash
Executable file

#!/bin/sh
INP="$(wofi --dmenu -H 1 -W 5)"
[ -z "$INP" ] && exit
swaymsg "rename workspace to \"$INP\""