feat(xdg): add local application mimes

This commit is contained in:
Price Hiller 2023-09-06 15:04:49 -05:00
parent 01b09b2abc
commit 0b048b26ce
Signed by: Price
SSH Key Fingerprint: SHA256:Y4S9ZzYphRn1W1kbJerJFO6GGsfu9O70VaBSxJO7dF8
5 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1 @@
/home/sam/.local/share/applications

View File

@ -0,0 +1,7 @@
[MIME Cache]
application/x-sh=wezterm-open.desktop;
application/x-shellscript=wezterm-open.desktop;
image/*=wezterm-open.desktop;
inode/directory=wezterm-open.desktop;
text/*=wezterm-open.desktop;
x-scheme-handler/ssh=wezterm-open.desktop;

View File

@ -0,0 +1,11 @@
[Desktop Entry]
Type=Application
Name=Spotify
GenericName=Music Player
Icon=spotify-client
TryExec=spotify
Exec=spotify --uri=%U --disable-gpu
Terminal=false
MimeType=x-scheme-handler/spotify;
Categories=Audio;Music;Player;AudioVideo;
StartupWMClass=spotify

View File

@ -0,0 +1,8 @@
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
NoDisplay=true
Exec=/usr/lib/thunderbird/thunderbird %u
Name=Thunderbird
Comment=Custom definition for Thunderbird

View File

@ -0,0 +1,12 @@
[Desktop Entry]
Name=WezTerm
Comment=Wez's Terminal Emulator
Keywords=shell;prompt;command;commandline;cmd;
Icon=org.wezfurlong.wezterm
StartupWMClass=org.wezfurlong.wezterm
TryExec=wezterm
Exec=wezterm start --cwd %U
Type=Application
Categories=System;TerminalEmulator;Utility;
Terminal=false
MimeType=image/*;application/x-sh;application/x-shellscript;inode/directory;text/*;x-scheme-handler/ssh;