From d740bffe9746e23f91b44b00ef2849211d508371 Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Thu, 7 Nov 2019 12:41:02 +0000 Subject: Add desktop files --- desktop/emacs-mail.desktop | 5 +++++ desktop/emacs.desktop | 28 ++++++++++++++++++++++++++++ scripts/i3exit | 2 +- 3 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 desktop/emacs-mail.desktop create mode 100755 desktop/emacs.desktop 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 -- cgit