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/common/.gnupg/gpg-agent.conf | 18 ------------------ dotfiles/common/.gnupg/pinentry-dmenu.conf | 10 ---------- .../common/.local/share/applications/dwm.desktop | 7 ------- .../share/applications/emacsclient-mail.desktop | 20 -------------------- .../common/.local/share/applications/file.desktop | 4 ---- .../common/.local/share/applications/img.desktop | 4 ---- .../.local/share/applications/lock-screen.desktop | 7 ------- .../common/.local/share/applications/logout.desktop | 7 ------- .../common/.local/share/applications/mail.desktop | 4 ---- .../common/.local/share/applications/pdf.desktop | 4 ---- .../common/.local/share/applications/reboot.desktop | 7 ------- .../.local/share/applications/shutdown.desktop | 7 ------- .../common/.local/share/applications/suspend.desktop | 7 ------- .../common/.local/share/applications/text.desktop | 4 ---- 14 files changed, 110 deletions(-) delete mode 100644 dotfiles/common/.gnupg/gpg-agent.conf delete mode 100644 dotfiles/common/.gnupg/pinentry-dmenu.conf delete mode 100644 dotfiles/common/.local/share/applications/dwm.desktop delete mode 100644 dotfiles/common/.local/share/applications/emacsclient-mail.desktop delete mode 100644 dotfiles/common/.local/share/applications/file.desktop delete mode 100644 dotfiles/common/.local/share/applications/img.desktop delete mode 100644 dotfiles/common/.local/share/applications/lock-screen.desktop delete mode 100644 dotfiles/common/.local/share/applications/logout.desktop delete mode 100644 dotfiles/common/.local/share/applications/mail.desktop delete mode 100644 dotfiles/common/.local/share/applications/pdf.desktop delete mode 100644 dotfiles/common/.local/share/applications/reboot.desktop delete mode 100644 dotfiles/common/.local/share/applications/shutdown.desktop delete mode 100644 dotfiles/common/.local/share/applications/suspend.desktop delete mode 100644 dotfiles/common/.local/share/applications/text.desktop (limited to 'dotfiles/common') diff --git a/dotfiles/common/.gnupg/gpg-agent.conf b/dotfiles/common/.gnupg/gpg-agent.conf deleted file mode 100644 index 6448665..0000000 --- a/dotfiles/common/.gnupg/gpg-agent.conf +++ /dev/null @@ -1,18 +0,0 @@ -# Pinentry configuration -pinentry-program /usr/bin/pinentry-dmenu -pinentry-timeout 10 -allow-loopback-pinentry - -# Cache passphrases for entire login session (400 days) -default-cache-ttl 34560000 -max-cache-ttl 34560000 - -# Enable SSH support (use gpg-agent for SSH keys too) -enable-ssh-support - -# Prevent external programs from clearing cache -no-allow-external-cache - -# Keep running even when no connections -keep-display -keep-tty diff --git a/dotfiles/common/.gnupg/pinentry-dmenu.conf b/dotfiles/common/.gnupg/pinentry-dmenu.conf deleted file mode 100644 index ccd4d55..0000000 --- a/dotfiles/common/.gnupg/pinentry-dmenu.conf +++ /dev/null @@ -1,10 +0,0 @@ -asterisk= "* "; -prompt = "$"; -font = "BerkeleyMono Nerd Font:size=12"; -prompt_fg = "#eeeeee"; -prompt_bg = "#d9904a"; -normal_fg = "#ffffff"; -normal_bg = "#000000"; -select_fg = "#eeeeee"; -select_bg = "#d9904a"; -desc_fg = "#eeeeee"; diff --git a/dotfiles/common/.local/share/applications/dwm.desktop b/dotfiles/common/.local/share/applications/dwm.desktop deleted file mode 100644 index ba3bd00..0000000 --- a/dotfiles/common/.local/share/applications/dwm.desktop +++ /dev/null @@ -1,7 +0,0 @@ -[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/common/.local/share/applications/emacsclient-mail.desktop b/dotfiles/common/.local/share/applications/emacsclient-mail.desktop deleted file mode 100644 index 6efcf61..0000000 --- a/dotfiles/common/.local/share/applications/emacsclient-mail.desktop +++ /dev/null @@ -1,20 +0,0 @@ -[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/common/.local/share/applications/file.desktop b/dotfiles/common/.local/share/applications/file.desktop deleted file mode 100644 index 5df1633..0000000 --- a/dotfiles/common/.local/share/applications/file.desktop +++ /dev/null @@ -1,4 +0,0 @@ -[Desktop Entry] -Type=Application -Name=File Manager -Exec=/usr/local/bin/st -e lfub %u diff --git a/dotfiles/common/.local/share/applications/img.desktop b/dotfiles/common/.local/share/applications/img.desktop deleted file mode 100644 index 42aa81e..0000000 --- a/dotfiles/common/.local/share/applications/img.desktop +++ /dev/null @@ -1,4 +0,0 @@ -[Desktop Entry] -Type=Application -Name=Image viewer -Exec=/usr/bin/sxiv -a %f diff --git a/dotfiles/common/.local/share/applications/lock-screen.desktop b/dotfiles/common/.local/share/applications/lock-screen.desktop deleted file mode 100644 index 2bd7afa..0000000 --- a/dotfiles/common/.local/share/applications/lock-screen.desktop +++ /dev/null @@ -1,7 +0,0 @@ -[Desktop Entry] -Name=Lock Screen -Comment=Lock the screen -Exec=slock -Icon=system-lock-screen -Type=Application -Categories=System; diff --git a/dotfiles/common/.local/share/applications/logout.desktop b/dotfiles/common/.local/share/applications/logout.desktop deleted file mode 100644 index 8c3bc3a..0000000 --- a/dotfiles/common/.local/share/applications/logout.desktop +++ /dev/null @@ -1,7 +0,0 @@ -[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/common/.local/share/applications/mail.desktop b/dotfiles/common/.local/share/applications/mail.desktop deleted file mode 100644 index d24aea2..0000000 --- a/dotfiles/common/.local/share/applications/mail.desktop +++ /dev/null @@ -1,4 +0,0 @@ -[Desktop Entry] -Type=Application -Name=Mail -Exec=/usr/local/bin/st -e neomutt %u diff --git a/dotfiles/common/.local/share/applications/pdf.desktop b/dotfiles/common/.local/share/applications/pdf.desktop deleted file mode 100644 index 8c38677..0000000 --- a/dotfiles/common/.local/share/applications/pdf.desktop +++ /dev/null @@ -1,4 +0,0 @@ -[Desktop Entry] -Type=Application -Name=PDF reader -Exec=/usr/bin/zathura %u diff --git a/dotfiles/common/.local/share/applications/reboot.desktop b/dotfiles/common/.local/share/applications/reboot.desktop deleted file mode 100644 index ae2c76e..0000000 --- a/dotfiles/common/.local/share/applications/reboot.desktop +++ /dev/null @@ -1,7 +0,0 @@ -[Desktop Entry] -Name=Reboot -Comment=Restart the system -Exec=systemctl reboot -Icon=system-reboot -Type=Application -Categories=System; diff --git a/dotfiles/common/.local/share/applications/shutdown.desktop b/dotfiles/common/.local/share/applications/shutdown.desktop deleted file mode 100644 index 2d93aa0..0000000 --- a/dotfiles/common/.local/share/applications/shutdown.desktop +++ /dev/null @@ -1,7 +0,0 @@ -[Desktop Entry] -Name=Shutdown -Comment=Power off the system -Exec=systemctl poweroff -Icon=system-shutdown -Type=Application -Categories=System; diff --git a/dotfiles/common/.local/share/applications/suspend.desktop b/dotfiles/common/.local/share/applications/suspend.desktop deleted file mode 100644 index ab8addf..0000000 --- a/dotfiles/common/.local/share/applications/suspend.desktop +++ /dev/null @@ -1,7 +0,0 @@ -[Desktop Entry] -Name=Suspend -Comment=Suspend the system to RAM -Exec=systemctl suspend -Icon=system-suspend -Type=Application -Categories=System; diff --git a/dotfiles/common/.local/share/applications/text.desktop b/dotfiles/common/.local/share/applications/text.desktop deleted file mode 100644 index 41ee05f..0000000 --- a/dotfiles/common/.local/share/applications/text.desktop +++ /dev/null @@ -1,4 +0,0 @@ -[Desktop Entry] -Type=Application -Name=Text editor -Exec=/usr/local/bin/st -e nvim %u -- cgit v1.2.3