aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/dwm/.local/share/applications/emacsclient-mail.desktop
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-01-26 18:54:27 -0600
committerCraig Jennings <c@cjennings.net>2026-01-26 18:54:27 -0600
commit5cc7cc1f02d32715a90cc90510823b9a02694742 (patch)
treed4afef6cc925330770bb9a5a75f12d6a325a2672 /dotfiles/dwm/.local/share/applications/emacsclient-mail.desktop
parent105533372d7bb4bad3de5affd6d9d3fb1477672b (diff)
downloadarchsetup-5cc7cc1f02d32715a90cc90510823b9a02694742.tar.gz
archsetup-5cc7cc1f02d32715a90cc90510823b9a02694742.zip
fix: move X11-specific configs from common to dwm
Move files that are specific to DWM/X11 setups: - gpg-agent.conf (uses pinentry-dmenu) - pinentry-dmenu.conf - Desktop files using X11 tools (st, slock, sxiv, etc.) These conflict with hyprland equivalents and should only be stowed on DWM systems. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Diffstat (limited to 'dotfiles/dwm/.local/share/applications/emacsclient-mail.desktop')
-rw-r--r--dotfiles/dwm/.local/share/applications/emacsclient-mail.desktop20
1 files changed, 20 insertions, 0 deletions
diff --git a/dotfiles/dwm/.local/share/applications/emacsclient-mail.desktop b/dotfiles/dwm/.local/share/applications/emacsclient-mail.desktop
new file mode 100644
index 0000000..6efcf61
--- /dev/null
+++ b/dotfiles/dwm/.local/share/applications/emacsclient-mail.desktop
@@ -0,0 +1,20 @@
+[Desktop Entry]
+Categories=Network;Email;
+Comment=Emacs is my mail client
+Exec=sh -c "exec emacsclient --alternate-editor= --display=\\"\\$DISPLAY\\" --eval \\\\(message-mailto\\\\ \\\\\\"%u\\\\\\"\\\\)"
+Icon=emacs
+Name=Emacs (Mail, Client)
+MimeType=x-scheme-handler/mailto;
+NoDisplay=true
+Terminal=false
+Type=Application
+Keywords=emacsclient;
+Actions=new-window;new-instance;
+
+[Desktop Action new-window]
+Name=New Window
+Exec=/usr/bin/emacsclient --alternate-editor= --create-frame --eval "(message-mailto \\"%u\\")"
+
+[Desktop Action new-instance]
+Name=New Instance
+Exec=emacs -f message-mailto %u