Update toggle-welcome

This commit is contained in:
Vlad Doster 2020-05-18 23:40:08 -05:00 committed by GitHub
parent 3ef507c9cf
commit b7c44063e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,6 +5,6 @@
PIC="${XDG_DATA_HOME}/larbs/larbs.png"
grep LARBSWELCOME "${XDG_CONFIG_HOME}/xprofile" &&
( sed -i "/LARBSWELCOME/d" "${XDG_CONFIG_HOME}/xprofile" && notify-send -i "$PIC" "LARBS welcome message" "Welcome message disabled. Press Super+Shift+F1 again to reverse." ) ||
( echo "notify-send -i \"$PIC\" \"Welcome to LARBS\" \"Press super+F1 for the help menu.\" # LARBSWELCOME" >> "${XDG_CONFIG_HOME}/xprofile" &&
( sed -i "/LARBSWELCOME/d" "${XDG_RUNTIME_DIR}/.xprofile" && notify-send -i "$PIC" "LARBS welcome message" "Welcome message disabled. Press Super+Shift+F1 again to reverse." ) ||
( echo "notify-send -i \"$PIC\" \"Welcome to LARBS\" \"Press super+F1 for the help menu.\" # LARBSWELCOME" >> "${XDG_RUNTIME_DIR}/.xprofile" &&
notify-send -i "$PIC" "LARBS welcome message" "Welcome message re-enabled." )