aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.local/bin/updisplay
blob: e9a7f698d00dca1a3d0b62f5b574c8624b79da1d (plain)
1
2
3
4
5
6
7
8
#!/bin/sh

IFS=$'\n'
outputcf=$(grep '^output .*$' ~/.config/sway/$(uname -n))

for line in $outputcf; do
  swaymsg $line
done