imv: add default Ctrl+P binding to print current image via CUPS (#2872)

* imv: add default Ctrl+P binding to print current image via CUPS

* Add imv config migration with backup

---------

Co-authored-by: David Heinemeier Hansson <david@hey.com>
This commit is contained in:
ctarxandDavid Heinemeier Hansson authored and GitHub committed 2025-10-27 14:55:14 +01:00
1 parent d128833e7b
commit e0e71a34fe
2 files changed
+11

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
echo "Add default Ctrl+P binding for imv; backup existing config if present"
if [ -f ~/.config/imv/config ]; then
cp ~/.config/imv/config ~/.config/imv/config.bak.$(date +%s)
else
mkdir -p ~/.config/imv
fi
cp ~/.local/share/omarchy/config/imv/config ~/.config/imv/config