From 1eaaa3fc8e42c7240afb81bfe609492f08bf27ac Mon Sep 17 00:00:00 2001 From: Vlad Doster Date: Mon, 18 May 2020 23:27:59 -0500 Subject: [PATCH] Update toggle-welcome --- .local/bin/i3cmds/toggle-welcome | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.local/bin/i3cmds/toggle-welcome b/.local/bin/i3cmds/toggle-welcome index 61d3883f..4fc3c517 100755 --- a/.local/bin/i3cmds/toggle-welcome +++ b/.local/bin/i3cmds/toggle-welcome @@ -4,7 +4,7 @@ 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" && +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" && notify-send -i "$PIC" "LARBS welcome message" "Welcome message re-enabled." )