diff options
| author | Jaƫl Champagne Gareau <gareau_jael@hotmail.com> | 2025-12-30 22:06:25 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-30 22:06:25 -0500 |
| commit | d05f22e5f4e92827ea69911cdd3dfc83c64c655c (patch) | |
| tree | e06b351e620f54654e6562a2d95bd3e0a286ccc8 /config/swappy | |
| parent | 330a934953fb79c56c60e2520210f8686b4c5459 (diff) | |
fix: respect XDG dir instead of forcing ~/Pictures (#899)
* fix: respect XDG dir instead of forcing ~/Pictures
* fix: make xdg-user-dir usage more robust
---------
Co-authored-by: Donald Williams <129223418+dwilliam62@users.noreply.github.com>
Diffstat (limited to 'config/swappy')
| -rw-r--r-- | config/swappy/config | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/swappy/config b/config/swappy/config index 45d84e49..ea04ccc2 100644 --- a/config/swappy/config +++ b/config/swappy/config @@ -1,5 +1,5 @@ [Default] -save_dir=$HOME/Pictures/Screenshots +save_dir=$(xdg-user-dir PICTURES 2>/dev/null || echo "$HOME/Pictures")/Screenshots save_filename_format=swappy-%Y%m%d-%H%M%S.png show_pannel=false line_size=5 |
