From fc3d3c84c10bd371ced9bb2bb0eec218963d93aa Mon Sep 17 00:00:00 2001 From: tiynger Date: Thu, 10 Oct 2019 00:07:09 +0200 Subject: [PATCH] changing default programs --- .config/mimeapps.list | 8 +------- .config/profile | 1 + .local/share/applications/img.desktop | 4 ++++ .local/share/applications/mail.desktop | 4 ++++ .local/share/applications/pdf.desktop | 4 ++++ .local/share/applications/rss.desktop | 4 ++++ .local/share/applications/text.desktop | 4 ++++ 7 files changed, 22 insertions(+), 7 deletions(-) create mode 100644 .local/share/applications/img.desktop create mode 100644 .local/share/applications/mail.desktop create mode 100644 .local/share/applications/pdf.desktop create mode 100644 .local/share/applications/rss.desktop create mode 100644 .local/share/applications/text.desktop diff --git a/.config/mimeapps.list b/.config/mimeapps.list index 413ec9c..535afe0 100644 --- a/.config/mimeapps.list +++ b/.config/mimeapps.list @@ -1,6 +1,5 @@ [Default Applications] -x-scheme-handler/magnet=torrent.desktop; -x-scheme-handler/mailto=userapp-Thunderbird-JMVJ8Z.desktop +x-scheme-handler/mailto=mail.desktop text/plain=text.desktop; text/x-shellscript=text.desktop; application/pdf=pdf.desktop; @@ -8,8 +7,3 @@ image/png=img.desktop; image/jpeg=img.desktop; image/gif=img.desktop; application/rss+xml=rss.desktop -message/rfc822=userapp-Thunderbird-JMVJ8Z.desktop - -[Added Associations] -x-scheme-handler/mailto=userapp-Thunderbird-JMVJ8Z.desktop; -message/rfc822=userapp-Thunderbird-JMVJ8Z.desktop; diff --git a/.config/profile b/.config/profile index b034263..13963d8 100644 --- a/.config/profile +++ b/.config/profile @@ -19,6 +19,7 @@ export AUDIO="mpv" export TABLE="sc-im" export IMAGE="sxiv" export LATEX="code" +export MAIL="thunderbird" # less/man colors export LESS=-R diff --git a/.local/share/applications/img.desktop b/.local/share/applications/img.desktop new file mode 100644 index 0000000..bf61f09 --- /dev/null +++ b/.local/share/applications/img.desktop @@ -0,0 +1,4 @@ +[Desktop Entry] +Type=Application +Name=Image viewer +Exec=/usr/bin/sxiv-a %u diff --git a/.local/share/applications/mail.desktop b/.local/share/applications/mail.desktop new file mode 100644 index 0000000..a7fa3f2 --- /dev/null +++ b/.local/share/applications/mail.desktop @@ -0,0 +1,4 @@ +[Desktop Entry] +Type=Application +Name=Mail +Exec=/usr/bin/thunderbird %u diff --git a/.local/share/applications/pdf.desktop b/.local/share/applications/pdf.desktop new file mode 100644 index 0000000..8c38677 --- /dev/null +++ b/.local/share/applications/pdf.desktop @@ -0,0 +1,4 @@ +[Desktop Entry] +Type=Application +Name=PDF reader +Exec=/usr/bin/zathura %u diff --git a/.local/share/applications/rss.desktop b/.local/share/applications/rss.desktop new file mode 100644 index 0000000..6fafc4f --- /dev/null +++ b/.local/share/applications/rss.desktop @@ -0,0 +1,4 @@ +[Desktop Entry] +Type=Application +Name=RSS feed addition +Exec=/usr/bin/env rssadd %U diff --git a/.local/share/applications/text.desktop b/.local/share/applications/text.desktop new file mode 100644 index 0000000..41ee05f --- /dev/null +++ b/.local/share/applications/text.desktop @@ -0,0 +1,4 @@ +[Desktop Entry] +Type=Application +Name=Text editor +Exec=/usr/local/bin/st -e nvim %u