aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.local/bin/setbg
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2021-02-08 17:18:39 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2021-02-08 17:18:39 +0300
commit5617b764bf63346711337ea9eaaa3c5335bcf6dd (patch)
tree16d0db9189aa5d0f0020ba44435200cff3914a31 /dotfiles/.local/bin/setbg
parent2a190c8508e5543be22a0aeb86fc39ef26ba2e9d (diff)
downloadswayrice-5617b764bf63346711337ea9eaaa3c5335bcf6dd.tar.gz
swayrice-5617b764bf63346711337ea9eaaa3c5335bcf6dd.zip
Script to update display config
Without having to reload all of Sway's config.
Diffstat (limited to 'dotfiles/.local/bin/setbg')
-rwxr-xr-xdotfiles/.local/bin/setbg7
1 files changed, 1 insertions, 6 deletions
diff --git a/dotfiles/.local/bin/setbg b/dotfiles/.local/bin/setbg
index 255f503..9daca99 100755
--- a/dotfiles/.local/bin/setbg
+++ b/dotfiles/.local/bin/setbg
@@ -5,9 +5,4 @@ mon="1"
cp $1 "$HOME/.config/wall$mon.png"
-IFS=$'\n'
-outputcf=$(grep '^output .* background.*$' ~/.config/sway/$(uname -n))
-
-for line in $outputcf; do
- swaymsg $line
-done
+updisplay