commit 34a03e25f4fe4c373519ee9df63129c0a31300be
parent 5447452ed6fa7a622c7f3a5032034710057623b4
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Mon, 4 Mar 2019 20:40:32 +0100
Fix i3 restart
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/links/bin/colortheme b/links/bin/colortheme
@@ -115,7 +115,7 @@ function set_colors {
s/^\*\.color15: .*$/\*.color15: $color15/;\
s/^\*\.color16: .*$/\*.color16: $color16/" ~/.Xresources
xrdb -merge ~/.Xresources
- command -v i3-msg >/dev/null 2>&1 && i3-msg restart
+ command -v i3-msg >/dev/null 2>&1 && (i3-msg restart || :)
[[ -x ~/bin/wallpaper.sh ]] && ~/bin/wallpaper.sh
fi