substitute $HOME/.local/share with $XDG_DATA_HOME

This commit is contained in:
Dennis Lee
2020-04-04 12:52:29 -07:00
parent fa67562835
commit 2b572b2a89
5 changed files with 10 additions and 10 deletions

View File

@@ -2,7 +2,7 @@
# Toggles the LARBS welcome message.
PIC="$HOME/.local/share/larbs/larbs.png"
PIC="$XDG_DATA_HOME/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." ) ||