From 1564a3f38f7323a175183116401582964f7adf6c Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Mon, 26 Jan 2026 18:54:27 -0600 Subject: 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 --- dotfiles/dwm/.local/share/applications/dwm.desktop | 7 +++++++ .../share/applications/emacsclient-mail.desktop | 20 ++++++++++++++++++++ dotfiles/dwm/.local/share/applications/file.desktop | 4 ++++ dotfiles/dwm/.local/share/applications/img.desktop | 4 ++++ .../.local/share/applications/lock-screen.desktop | 7 +++++++ .../dwm/.local/share/applications/logout.desktop | 7 +++++++ dotfiles/dwm/.local/share/applications/mail.desktop | 4 ++++ dotfiles/dwm/.local/share/applications/pdf.desktop | 4 ++++ .../dwm/.local/share/applications/reboot.desktop | 7 +++++++ .../dwm/.local/share/applications/shutdown.desktop | 7 +++++++ .../dwm/.local/share/applications/suspend.desktop | 7 +++++++ dotfiles/dwm/.local/share/applications/text.desktop | 4 ++++ 12 files changed, 82 insertions(+) create mode 100644 dotfiles/dwm/.local/share/applications/dwm.desktop create mode 100644 dotfiles/dwm/.local/share/applications/emacsclient-mail.desktop create mode 100644 dotfiles/dwm/.local/share/applications/file.desktop create mode 100644 dotfiles/dwm/.local/share/applications/img.desktop create mode 100644 dotfiles/dwm/.local/share/applications/lock-screen.desktop create mode 100644 dotfiles/dwm/.local/share/applications/logout.desktop create mode 100644 dotfiles/dwm/.local/share/applications/mail.desktop create mode 100644 dotfiles/dwm/.local/share/applications/pdf.desktop create mode 100644 dotfiles/dwm/.local/share/applications/reboot.desktop create mode 100644 dotfiles/dwm/.local/share/applications/shutdown.desktop create mode 100644 dotfiles/dwm/.local/share/applications/suspend.desktop create mode 100644 dotfiles/dwm/.local/share/applications/text.desktop (limited to 'dotfiles/dwm/.local/share/applications') diff --git a/dotfiles/dwm/.local/share/applications/dwm.desktop b/dotfiles/dwm/.local/share/applications/dwm.desktop new file mode 100644 index 0000000..ba3bd00 --- /dev/null +++ b/dotfiles/dwm/.local/share/applications/dwm.desktop @@ -0,0 +1,7 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=dwm +Comment=It's fucking DWM, asshole. +Exec=startdwm +Icon=dwm +Type=XSession \ No newline at end of file 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 diff --git a/dotfiles/dwm/.local/share/applications/file.desktop b/dotfiles/dwm/.local/share/applications/file.desktop new file mode 100644 index 0000000..5df1633 --- /dev/null +++ b/dotfiles/dwm/.local/share/applications/file.desktop @@ -0,0 +1,4 @@ +[Desktop Entry] +Type=Application +Name=File Manager +Exec=/usr/local/bin/st -e lfub %u diff --git a/dotfiles/dwm/.local/share/applications/img.desktop b/dotfiles/dwm/.local/share/applications/img.desktop new file mode 100644 index 0000000..42aa81e --- /dev/null +++ b/dotfiles/dwm/.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/dotfiles/dwm/.local/share/applications/lock-screen.desktop b/dotfiles/dwm/.local/share/applications/lock-screen.desktop new file mode 100644 index 0000000..2bd7afa --- /dev/null +++ b/dotfiles/dwm/.local/share/applications/lock-screen.desktop @@ -0,0 +1,7 @@ +[Desktop Entry] +Name=Lock Screen +Comment=Lock the screen +Exec=slock +Icon=system-lock-screen +Type=Application +Categories=System; diff --git a/dotfiles/dwm/.local/share/applications/logout.desktop b/dotfiles/dwm/.local/share/applications/logout.desktop new file mode 100644 index 0000000..8c3bc3a --- /dev/null +++ b/dotfiles/dwm/.local/share/applications/logout.desktop @@ -0,0 +1,7 @@ +[Desktop Entry] +Name=Logout +Comment=End the current session +Exec=sh -c 'loginctl terminate-session "$XDG_SESSION_ID"' +Icon=system-log-out +Type=Application +Categories=System; diff --git a/dotfiles/dwm/.local/share/applications/mail.desktop b/dotfiles/dwm/.local/share/applications/mail.desktop new file mode 100644 index 0000000..d24aea2 --- /dev/null +++ b/dotfiles/dwm/.local/share/applications/mail.desktop @@ -0,0 +1,4 @@ +[Desktop Entry] +Type=Application +Name=Mail +Exec=/usr/local/bin/st -e neomutt %u diff --git a/dotfiles/dwm/.local/share/applications/pdf.desktop b/dotfiles/dwm/.local/share/applications/pdf.desktop new file mode 100644 index 0000000..8c38677 --- /dev/null +++ b/dotfiles/dwm/.local/share/applications/pdf.desktop @@ -0,0 +1,4 @@ +[Desktop Entry] +Type=Application +Name=PDF reader +Exec=/usr/bin/zathura %u diff --git a/dotfiles/dwm/.local/share/applications/reboot.desktop b/dotfiles/dwm/.local/share/applications/reboot.desktop new file mode 100644 index 0000000..ae2c76e --- /dev/null +++ b/dotfiles/dwm/.local/share/applications/reboot.desktop @@ -0,0 +1,7 @@ +[Desktop Entry] +Name=Reboot +Comment=Restart the system +Exec=systemctl reboot +Icon=system-reboot +Type=Application +Categories=System; diff --git a/dotfiles/dwm/.local/share/applications/shutdown.desktop b/dotfiles/dwm/.local/share/applications/shutdown.desktop new file mode 100644 index 0000000..2d93aa0 --- /dev/null +++ b/dotfiles/dwm/.local/share/applications/shutdown.desktop @@ -0,0 +1,7 @@ +[Desktop Entry] +Name=Shutdown +Comment=Power off the system +Exec=systemctl poweroff +Icon=system-shutdown +Type=Application +Categories=System; diff --git a/dotfiles/dwm/.local/share/applications/suspend.desktop b/dotfiles/dwm/.local/share/applications/suspend.desktop new file mode 100644 index 0000000..ab8addf --- /dev/null +++ b/dotfiles/dwm/.local/share/applications/suspend.desktop @@ -0,0 +1,7 @@ +[Desktop Entry] +Name=Suspend +Comment=Suspend the system to RAM +Exec=systemctl suspend +Icon=system-suspend +Type=Application +Categories=System; diff --git a/dotfiles/dwm/.local/share/applications/text.desktop b/dotfiles/dwm/.local/share/applications/text.desktop new file mode 100644 index 0000000..41ee05f --- /dev/null +++ b/dotfiles/dwm/.local/share/applications/text.desktop @@ -0,0 +1,4 @@ +[Desktop Entry] +Type=Application +Name=Text editor +Exec=/usr/local/bin/st -e nvim %u -- cgit v1.2.3