Skip to content

Commit

Permalink
Merge pull request #28 from meliache/deskop-file-respect-xdg
Browse files Browse the repository at this point in the history
Respect `$XDG_CACHE_HOME` in deskop file
  • Loading branch information
johan-bjareholt authored Oct 8, 2024
2 parents 5184ac2 + d2200f8 commit b859dac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aw-watcher-window-wayland.desktop
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[Desktop Entry]
Type=Application
Name=ActivityWatch Window Watcher
Exec=bash -c 'logdir=~/.cache/activitywatch/log/aw-watcher-window-wayland; mkdir -p $logdir; RUST_BACKTRACE=1 aw-watcher-window-wayland > $logdir/$(date -Iseconds).log 2>&1'
Exec=bash -c 'logdir="${XDG_CACHE_HOME:-$HOME/.cache}/activitywatch/log/aw-watcher-window-wayland" && mkdir -p "$logdir" && RUST_BACKTRACE=1 aw-watcher-window-wayland > "$logdir/$(date -Iseconds).log" 2>&1'
Icon=
Comment=
X-GNOME-Autostart-enabled=true

0 comments on commit b859dac

Please sign in to comment.