aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.local
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2021-01-27 00:17:33 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2021-01-27 00:17:33 +0300
commitfb862406a0719f34933e6755a8592636019b5d70 (patch)
tree326bc21ae7abc32247d089c79d2acf28da070e9d /dotfiles/.local
parent8a39d8d18e2376d29d67db9e84e908cd86bd078a (diff)
downloadswayrice-fb862406a0719f34933e6755a8592636019b5d70.tar.gz
swayrice-fb862406a0719f34933e6755a8592636019b5d70.zip
setbg: fixed to work with my new sway config
Diffstat (limited to 'dotfiles/.local')
-rwxr-xr-xdotfiles/.local/bin/setbg2
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