aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2019-11-07 12:41:02 +0000
committerYann Herklotz <git@yannherklotz.com>2019-11-07 12:41:02 +0000
commitd740bffe9746e23f91b44b00ef2849211d508371 (patch)
tree08cc855d41a488cb944ba9af485162880b65af3c
parent3fed8bf7b2915d2d00b830f5103a4962a29be4c7 (diff)
downloaddotfiles-d740bffe9746e23f91b44b00ef2849211d508371.tar.gz
dotfiles-d740bffe9746e23f91b44b00ef2849211d508371.zip
Add desktop files
-rw-r--r--desktop/emacs-mail.desktop5
-rwxr-xr-xdesktop/emacs.desktop28
-rwxr-xr-xscripts/i3exit2
3 files changed, 34 insertions, 1 deletions
diff --git a/desktop/emacs-mail.desktop b/desktop/emacs-mail.desktop
new file mode 100644
index 0000000..0739de1
--- /dev/null
+++ b/desktop/emacs-mail.desktop
@@ -0,0 +1,5 @@
+[Desktop Entry]
+Type=Application
+Name=Emacs Email
+Exec=emacsclient -c --eval "(browse-url-mail \"%f\")"
+Icon=/home/yannherklotz/Images/emacs.icon
diff --git a/desktop/emacs.desktop b/desktop/emacs.desktop
new file mode 100755
index 0000000..95df61e
--- /dev/null
+++ b/desktop/emacs.desktop
@@ -0,0 +1,28 @@
+[Desktop Entry]
+
+# The type as listed above
+Type=Application
+
+# The version of the desktop entry specification to which this file complies
+Version=1.0
+
+# The name of the application
+Name=Emacs
+
+# A comment which can/will be used as a tooltip
+Comment=Flash card based learning tool
+
+# The path to the folder in which the executable is run
+Path=/home/yannherklotz
+
+# The executable of the application, possibly with arguments.
+Exec=/usr/bin/emacsclient -c -a '/usr/bin/emacs'
+
+# The name of the icon that will be used to display this entry
+Icon=/home/yannherklotz/Images/emacs.icon
+
+# Describes whether this application needs to be run in a terminal or not
+Terminal=false
+
+# Describes the categories in which this entry should be shown
+Categories=Languages;Editor;Text;
diff --git a/scripts/i3exit b/scripts/i3exit
index bea4549..9e3f3a1 100755
--- a/scripts/i3exit
+++ b/scripts/i3exit
@@ -1,6 +1,6 @@
#!/bin/sh
lock() {
- /home/yannherklotz/.local/bin/betterlock -$1 blur
+ $HOME/.local/bin/betterlock -$1 blur
}
case "$1" in