commit a818e2d9dbff39c5ac0ff5b0f036921360b099ce parent 50baa1a44f74206f6848fb55009439800e9b8965 Author: Luke Smith <luke@lukesmith.xyz> Date: Sat, 2 May 2020 15:04:36 -0400 Merge branch 'master' of github.com:LukeSmithxyz/voidrice Diffstat:
M | .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 @@ -4,7 +4,7 @@ PIC="${XDG_DATA_HOME:-$HOME/.local/share}/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." ) || - ( echo "notify-send -i \"$PIC\" \"Welcome to LARBS\" \"Press super+F1 for the help menu.\" # LARBSWELCOME" >> ~/.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." )