mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-03-20 01:37:45 +01:00
Update toggle-welcome
This commit is contained in:
parent
3ef507c9cf
commit
b7c44063e4
@ -5,6 +5,6 @@
|
|||||||
PIC="${XDG_DATA_HOME}/larbs/larbs.png"
|
PIC="${XDG_DATA_HOME}/larbs/larbs.png"
|
||||||
|
|
||||||
grep LARBSWELCOME "${XDG_CONFIG_HOME}/xprofile" &&
|
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." ) ||
|
( 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_CONFIG_HOME}/xprofile" &&
|
( 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." )
|
notify-send -i "$PIC" "LARBS welcome message" "Welcome message re-enabled." )
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user