Use Omasnap for screenshots
This commit is contained in:
18 files changed
+169
-118
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user