diff options
Diffstat (limited to 'dotfiles/.local/bin/updisplay')
-rwxr-xr-x | dotfiles/.local/bin/updisplay | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/dotfiles/.local/bin/updisplay b/dotfiles/.local/bin/updisplay new file mode 100755 index 0000000..e9a7f69 --- /dev/null +++ b/dotfiles/.local/bin/updisplay @@ -0,0 +1,8 @@ +#!/bin/sh + +IFS=$'\n' +outputcf=$(grep '^output .*$' ~/.config/sway/$(uname -n)) + +for line in $outputcf; do + swaymsg $line +done |