feat(sway): add power-aware-effects script
This commit is contained in:
4
sway/scripts/ws-to-current.sh
Executable file
4
sway/scripts/ws-to-current.sh
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
# switch to workspace and move it to the currently focused output
|
||||
output=$(swaymsg -t get_outputs | jq -r '.[] | select(.focused) | .name')
|
||||
swaymsg "workspace number $1, move workspace to output $output"
|
||||
Reference in New Issue
Block a user