summaryrefslogtreecommitdiffstats
path: root/.local
diff options
context:
space:
mode:
authorHekuran <62762955+narukeh@users.noreply.github.com>2020-05-02 15:46:57 +0200
committerGitHub <noreply@github.com>2020-05-02 09:46:57 -0400
commit632d35ebaeba8464eccf159e4f2b704c28e617d6 (patch)
treef466492469db002554b1be420f4e6e4fd1038d22 /.local
parent833d5fe9b7ced38d8484844977e7ec8347c06fb4 (diff)
downloadeibhear-632d35ebaeba8464eccf159e4f2b704c28e617d6.tar.gz
eibhear-632d35ebaeba8464eccf159e4f2b704c28e617d6.tar.zst
eibhear-632d35ebaeba8464eccf159e4f2b704c28e617d6.zip
update for welcome toggle (#614)
changed `~/.xprofile` to `$XDG_CONFIG_HOME/xprofile`
Diffstat (limited to '.local')
-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." )