diff options
author | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2021-01-27 00:17:33 +0300 |
---|---|---|
committer | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2021-01-27 00:17:33 +0300 |
commit | fb862406a0719f34933e6755a8592636019b5d70 (patch) | |
tree | 326bc21ae7abc32247d089c79d2acf28da070e9d | |
parent | 8a39d8d18e2376d29d67db9e84e908cd86bd078a (diff) | |
download | swayrice-fb862406a0719f34933e6755a8592636019b5d70.tar.gz swayrice-fb862406a0719f34933e6755a8592636019b5d70.zip |
setbg: fixed to work with my new sway config
-rwxr-xr-x | dotfiles/.local/bin/setbg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dotfiles/.local/bin/setbg b/dotfiles/.local/bin/setbg index eb319d0..255f503 100755 --- a/dotfiles/.local/bin/setbg +++ b/dotfiles/.local/bin/setbg @@ -6,7 +6,7 @@ mon="1" cp $1 "$HOME/.config/wall$mon.png" IFS=$'\n' -outputcf=$(grep '^output .* background.*$' ~/.config/sway/config) +outputcf=$(grep '^output .* background.*$' ~/.config/sway/$(uname -n)) for line in $outputcf; do swaymsg $line |