summaryrefslogtreecommitdiffstats
path: root/.local/bin/i3cmds/toggle-welcome
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2020-05-02 15:04:36 -0400
committerLuke Smith <luke@lukesmith.xyz>2020-05-02 15:04:36 -0400
commita818e2d9dbff39c5ac0ff5b0f036921360b099ce (patch)
tree1caec2ae3735b84ad8584f478e2009db40cb9901 /.local/bin/i3cmds/toggle-welcome
parent50baa1a44f74206f6848fb55009439800e9b8965 (diff)
parent632d35ebaeba8464eccf159e4f2b704c28e617d6 (diff)
downloadeibhear-a818e2d9dbff39c5ac0ff5b0f036921360b099ce.tar.gz
eibhear-a818e2d9dbff39c5ac0ff5b0f036921360b099ce.tar.zst
eibhear-a818e2d9dbff39c5ac0ff5b0f036921360b099ce.zip
Merge branch 'master' of github.com:LukeSmithxyz/voidrice
Diffstat (limited to '.local/bin/i3cmds/toggle-welcome')
-rwxr-xr-x.local/bin/i3cmds/toggle-welcome6
1 files changed, 3 insertions, 3 deletions
diff --git a/.local/bin/i3cmds/toggle-welcome b/.local/bin/i3cmds/toggle-welcome
index 517c301..d15ca14 100755
--- 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." )