diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2020-04-08 19:06:11 -0400 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2020-04-08 19:06:11 -0400 |
| commit | 7f334ff4b902e7cfbc8cb824e59510b752e7a754 (patch) | |
| tree | 2a03dbd10f2beb3143b58e1f3f5ad457f2c9bd7b /.local/bin/i3cmds | |
| parent | 0948cd95f3dec7694186fb4fbe31a3c46289f7a0 (diff) | |
| download | eibhear-7f334ff4b902e7cfbc8cb824e59510b752e7a754.tar.gz eibhear-7f334ff4b902e7cfbc8cb824e59510b752e7a754.tar.zst eibhear-7f334ff4b902e7cfbc8cb824e59510b752e7a754.zip | |
oops, sed error
Diffstat (limited to '.local/bin/i3cmds')
| -rwxr-xr-x | .local/bin/i3cmds/toggle-welcome | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/i3cmds/toggle-welcome b/.local/bin/i3cmds/toggle-welcome index 1f08eb1..517c301 100755 --- a/.local/bin/i3cmds/toggle-welcome +++ b/.local/bin/i3cmds/toggle-welcome @@ -2,7 +2,7 @@ # Toggles the LARBS welcome message. -PIC="${XDG_DATA_HOME:$HOME/.local/share}/larbs/larbs.png" +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." ) || |
