Compare commits

..

2 Commits

Author SHA1 Message Date
8698a1ce27 Silence sxbm_sync output to prevent issue with dmenu 2025-10-12 15:19:20 +02:00
38eb38a483 Add git sync wrapper 2025-10-12 14:35:15 +02:00

10
extra/sxbm_sync Executable file
View File

@ -0,0 +1,10 @@
#!/bin/sh
set -eu
sxbm_orig "$@"
cd ~/.local/share/sxbm
git add bookmarks
if ! git diff --cached --quiet; then
git commit -q -m "Auto-update bookmarks on $(date)"
git push -q
fi