diff options
| -rwxr-xr-x | sway-launcher-desktop.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway-launcher-desktop.sh b/sway-launcher-desktop.sh index c050eb1..4b0a52b 100755 --- a/sway-launcher-desktop.sh +++ b/sway-launcher-desktop.sh @@ -48,7 +48,7 @@ else HIST_FILE="${XDG_CACHE_HOME:-$HOME/.cache}/${0##*/}-history.txt" fi -touch "$HIST_FILE" +mkdir -p "${HIST_FILE%/*}" && touch "$HIST_FILE" readarray HIST_LINES <"$HIST_FILE" function describe() { |
