mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
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:
2
config/imv/config
Normal file
2
config/imv/config
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
[binds]
|
||||||
|
<Ctrl+p> = exec lp $imv_current_file
|
||||||
9
migrations/1761569743.sh
Normal file
9
migrations/1761569743.sh
Normal 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
|
||||||
Reference in New Issue
Block a user