Use Omasnap for screenshots

This commit is contained in:
Ryan Hughes committed 2026-09-20 13:18:36 -04:00
1 parent e38c1d1289
commit e265934bb1
18 files changed
+169 -118

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
echo "Replace Tensaku with Omasnap"
omarchy-pkg-add omasnap
imv_config="$HOME/.config/imv/config"
if [[ -f $imv_config ]]; then
sed -i --follow-symlinks \
-e 's/^# Edit the current image in Tensaku and quit the viewer$/# Edit the current image in Omasnap and quit the viewer/' \
-e 's|^<Ctrl+e> = exec tensaku-edit "$imv_current_file" & ; quit$|<Ctrl+e> = exec omasnap "$imv_current_file" \& ; quit|' \
"$imv_config"
fi
omarchy-pkg-drop tensaku