feat: proper xdg-open configuration
This commit is contained in:
parent
ac9ed58abe
commit
82e236a2d9
18
.config/mimeapps.list
Normal file
18
.config/mimeapps.list
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
[Default Applications]
|
||||||
|
|
||||||
|
# xdg-open will use these settings to determine how to open filetypes.
|
||||||
|
# These .desktop entries can also be seen and changed in ~/.local/share/applications/
|
||||||
|
|
||||||
|
text/x-shellscript=text.desktop;
|
||||||
|
x-scheme-handler/magnet=torrent.desktop;
|
||||||
|
application/x-bittorrent=torrent.desktop;
|
||||||
|
x-scheme-handler/mailto=mail.desktop;
|
||||||
|
text/plain=text.desktop;
|
||||||
|
application/postscript=pdf.desktop;
|
||||||
|
application/pdf=pdf.desktop;
|
||||||
|
image/png=img.desktop;
|
||||||
|
image/jpeg=img.desktop;
|
||||||
|
image/gif=img.desktop;
|
||||||
|
application/rss+xml=rss.desktop
|
||||||
|
video/x-matroska=video.desktop
|
||||||
|
inode/directory=file.desktop
|
4
.local/share/applications/file.desktop
Normal file
4
.local/share/applications/file.desktop
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Type=Application
|
||||||
|
Name=File Manager
|
||||||
|
Exec=/usr/local/bin/st -c "nnn" -e nnn %u
|
4
.local/share/applications/img.desktop
Normal file
4
.local/share/applications/img.desktop
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Type=Application
|
||||||
|
Name=Image viewer
|
||||||
|
Exec=/usr/bin/sxiv -a %f
|
4
.local/share/applications/mail.desktop
Normal file
4
.local/share/applications/mail.desktop
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Type=Application
|
||||||
|
Name=Mail
|
||||||
|
Exec=/usr/local/bin/st -c "neomutt" -e neomutt %u
|
4
.local/share/applications/pdf.desktop
Normal file
4
.local/share/applications/pdf.desktop
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Type=Application
|
||||||
|
Name=PDF reader
|
||||||
|
Exec=/usr/bin/zathura %u
|
4
.local/share/applications/rss.desktop
Normal file
4
.local/share/applications/rss.desktop
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Type=Application
|
||||||
|
Name=RSS feed addition
|
||||||
|
Exec=/usr/bin/env rssadd %U
|
4
.local/share/applications/torrent.desktop
Normal file
4
.local/share/applications/torrent.desktop
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Type=Application
|
||||||
|
Name=Torrent
|
||||||
|
Exec=/usr/bin/env transadd %U
|
4
.local/share/applications/video.desktop
Normal file
4
.local/share/applications/video.desktop
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Type=Application
|
||||||
|
Name=Video Player
|
||||||
|
Exec=/usr/bin/mpv %u
|
Reference in New Issue
Block a user