From 5617b764bf63346711337ea9eaaa3c5335bcf6dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?= Date: Mon, 8 Feb 2021 17:18:39 +0300 Subject: Script to update display config Without having to reload all of Sway's config. --- dotfiles/.local/bin/setbg | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'dotfiles/.local/bin/setbg') 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 -- cgit v1.2.3