From b7c44063e49f59e13d12fe9b7baf89bec45e6725 Mon Sep 17 00:00:00 2001 From: Vlad Doster Date: Mon, 18 May 2020 23:40:08 -0500 Subject: [PATCH] Update toggle-welcome --- .local/bin/i3cmds/toggle-welcome | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.local/bin/i3cmds/toggle-welcome b/.local/bin/i3cmds/toggle-welcome index 4fc3c517..c81ceb0c 100755 --- a/.local/bin/i3cmds/toggle-welcome +++ b/.local/bin/i3cmds/toggle-welcome @@ -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." )