summaryrefslogtreecommitdiff
path: root/dotfiles/dwm/.local/share
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
commit1564a3f38f7323a175183116401582964f7adf6c (patch)
treefbc2a5246acbab4cd9bbbafb15462e34a18a563f /dotfiles/dwm/.local/share
parentc20cda7d5c9007aa0d2416d27d00d2b9725668fd (diff)
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')
-rw-r--r--dotfiles/dwm/.local/share/applications/dwm.desktop7
-rw-r--r--dotfiles/dwm/.local/share/applications/emacsclient-mail.desktop20
-rw-r--r--dotfiles/dwm/.local/share/applications/file.desktop4
-rw-r--r--dotfiles/dwm/.local/share/applications/img.desktop4
-rw-r--r--dotfiles/dwm/.local/share/applications/lock-screen.desktop7
-rw-r--r--dotfiles/dwm/.local/share/applications/logout.desktop7
-rw-r--r--dotfiles/dwm/.local/share/applications/mail.desktop4
-rw-r--r--dotfiles/dwm/.local/share/applications/pdf.desktop4
-rw-r--r--dotfiles/dwm/.local/share/applications/reboot.desktop7
-rw-r--r--dotfiles/dwm/.local/share/applications/shutdown.desktop7
-rw-r--r--dotfiles/dwm/.local/share/applications/suspend.desktop7
-rw-r--r--dotfiles/dwm/.local/share/applications/text.desktop4
12 files changed, 82 insertions, 0 deletions
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