summaryrefslogtreecommitdiff
path: root/dotfiles/dwm
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles/dwm')
-rw-r--r--dotfiles/dwm/.gnupg/gpg-agent.conf18
-rw-r--r--dotfiles/dwm/.gnupg/pinentry-dmenu.conf10
-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
14 files changed, 110 insertions, 0 deletions
diff --git a/dotfiles/dwm/.gnupg/gpg-agent.conf b/dotfiles/dwm/.gnupg/gpg-agent.conf
new file mode 100644
index 0000000..6448665
--- /dev/null
+++ b/dotfiles/dwm/.gnupg/gpg-agent.conf
@@ -0,0 +1,18 @@
+# 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/dwm/.gnupg/pinentry-dmenu.conf b/dotfiles/dwm/.gnupg/pinentry-dmenu.conf
new file mode 100644
index 0000000..ccd4d55
--- /dev/null
+++ b/dotfiles/dwm/.gnupg/pinentry-dmenu.conf
@@ -0,0 +1,10 @@
+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/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