instead of yazi conf use xdg mimeapps for configuring default apps

This commit is contained in:
Alexander Bell 2025-06-04 12:40:37 +02:00
parent 4865bfe549
commit a5d34d185e
3 changed files with 11 additions and 37 deletions

View File

@ -1,24 +0,0 @@
[[manager.prepend_keymap]]
on = [ "C", "i" ]
run = "plugin lazygit"
desc = "run lazygit"
[[manager.append_keymap]]
on = [ "g", "p" ]
run = "cd ~/Documents/Programming"
desc = "Go to ~/Documents/Programming"
[[manager.append_keymap]]
on = [ "g", "u" ]
run = "cd ~/Documents/Uni"
desc = "Go to ~/Documents/Uni"
[[manager.append_keymap]]
on = [ "g", "s" ]
run = "cd /mnt/smb"
desc = "Go to /mnt/smb"
[[input.prepend_keymap]]
on = "<Esc>"
run = "close"
desc = "Cancel input"

View File

@ -1,9 +0,0 @@
[open]
rules = [
{ mime = "video/*", use = "play" },
]
[opener]
play = [
{ run = 'mpv "$@"', orphan = true}
]

View File

@ -1,13 +1,20 @@
[Default Applications]
x-scheme-handler/mailto=userapp-Thunderbird-B1FR62.desktop
message/rfc822=userapp-Thunderbird-B1FR62.desktop
x-scheme-handler/mid=userapp-Thunderbird-B1FR62.desktop
x-scheme-handler/mailto=org.mozilla.Thunderbird.desktop
message/rfc822=org.mozilla.Thunderbird.desktop
x-scheme-handler/mid=org.mozilla.Thunderbird.desktop
image/png=imv.desktop
image/jpeg=imv.desktop
image/gif=imv.desktop
image/bmp=imv.desktop
image/webp=imv.desktop
application/pdf=okularApplication_pdf.desktop
video/mp4=mpv.desktop
video/x-matroska=mpv.desktop
video/webm=mpv.desktop
video/avi=mpv.desktop
video/x-msvideo=mpv.desktop
video/mpeg=mpv.desktop
video/ogg=mpv.desktop
[Added Associations]
x-scheme-handler/mailto=userapp-Thunderbird-B1FR62.desktop;