From 1c3f5aa52d9a2be14831ea11495803df96b90075 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 17 Jun 2020 14:55:02 +0200 Subject: Added some .desktop files and functions --- .local/share/applications/file.desktop | 4 ++++ .local/share/applications/img.desktop | 4 ++++ .local/share/applications/mail.desktop | 8 ++++++++ .local/share/applications/mimeinfo.cache | 1 + .local/share/applications/pdf.desktop | 4 ++++ .local/share/applications/text.desktop | 4 ++++ .local/share/applications/video.desktop | 4 ++++ 7 files changed, 29 insertions(+) create mode 100644 .local/share/applications/file.desktop create mode 100644 .local/share/applications/img.desktop create mode 100644 .local/share/applications/mail.desktop create mode 100644 .local/share/applications/mimeinfo.cache create mode 100644 .local/share/applications/pdf.desktop create mode 100644 .local/share/applications/text.desktop create mode 100644 .local/share/applications/video.desktop (limited to '.local/share/applications') diff --git a/.local/share/applications/file.desktop b/.local/share/applications/file.desktop new file mode 100644 index 0000000..4cf78cf --- /dev/null +++ b/.local/share/applications/file.desktop @@ -0,0 +1,4 @@ +[Desktop Entry] +Type=Application +Name=File Manager +Exec=/usr/local/bin/st -e nnn %u diff --git a/.local/share/applications/img.desktop b/.local/share/applications/img.desktop new file mode 100644 index 0000000..42aa81e --- /dev/null +++ b/.local/share/applications/img.desktop @@ -0,0 +1,4 @@ +[Desktop Entry] +Type=Application +Name=Image viewer +Exec=/usr/bin/sxiv -a %f diff --git a/.local/share/applications/mail.desktop b/.local/share/applications/mail.desktop new file mode 100644 index 0000000..dddaf2e --- /dev/null +++ b/.local/share/applications/mail.desktop @@ -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 diff --git a/.local/share/applications/mimeinfo.cache b/.local/share/applications/mimeinfo.cache new file mode 100644 index 0000000..7dab7ea --- /dev/null +++ b/.local/share/applications/mimeinfo.cache @@ -0,0 +1 @@ +[MIME Cache] 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/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 diff --git a/.local/share/applications/video.desktop b/.local/share/applications/video.desktop new file mode 100644 index 0000000..857a6fe --- /dev/null +++ b/.local/share/applications/video.desktop @@ -0,0 +1,4 @@ +[Desktop Entry] +Type=Application +Name=Video Player +Exec=/usr/bin/mpv %u -- cgit v1.2.3