mirror of https://github.com/ericonr/dotfiles.git
3 lines
186 B
Plaintext
3 lines
186 B
Plaintext
|
#!/bin/sh
|
||
|
exec swaymsg -t get_outputs | jq -r '.[] | [ .name,.rect.x,.rect.y,.transform ] | @csv' | awk -F ',' '{ print "output " $1 " position "$2" "$3 "\nouput " $1 " transform " $4}'
|