summaryrefslogtreecommitdiffstats
path: root/.local/bin/i3cmds
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/i3cmds')
-rwxr-xr-x.local/bin/i3cmds/toggle-welcome2
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/i3cmds/toggle-welcome b/.local/bin/i3cmds/toggle-welcome
index 1f08eb1..517c301 100755
--- a/.local/bin/i3cmds/toggle-welcome
+++ b/.local/bin/i3cmds/toggle-welcome
@@ -2,7 +2,7 @@
# Toggles the LARBS welcome message.
-PIC="${XDG_DATA_HOME:$HOME/.local/share}/larbs/larbs.png"
+PIC="${XDG_DATA_HOME:-$HOME/.local/share}/larbs/larbs.png"
grep LARBSWELCOME "$HOME/.xprofile" &&
( sed -i "/LARBSWELCOME/d" ~/.xprofile && notify-send -i "$PIC" "LARBS welcome message" "Welcome message disabled. Press Super+Shift+F1 again to reverse." ) ||