summaryrefslogtreecommitdiff
path: root/dwm/.xinitrc
diff options
context:
space:
mode:
authorjulian T <julian@jtle.dk>2019-02-02 17:23:53 +0100
committerjulian T <julian@jtle.dk>2019-02-02 17:23:53 +0100
commit489aeecfdd9d8938669e25961f43df287c4e9bcd (patch)
treeb2560dde94fb1b9a5e851ab82e0d609fdd9304a2 /dwm/.xinitrc
parentadc0806cdda2673910483a4266265eb9103da1c8 (diff)
Moved to stow
Diffstat (limited to 'dwm/.xinitrc')
-rw-r--r--dwm/.xinitrc31
1 files changed, 31 insertions, 0 deletions
diff --git a/dwm/.xinitrc b/dwm/.xinitrc
new file mode 100644
index 0000000..711303f
--- /dev/null
+++ b/dwm/.xinitrc
@@ -0,0 +1,31 @@
+setxkbmap -layout us -variant altgr-intl
+feh --bg-fill /home/julian/Pictures/up1.*
+export _JAVA_AWT_WM_NONREPARENTING=1
+export TERM=st
+
+dbus-update-activation-environment --systemd DISPLAY
+
+eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets)
+export SSH_AUTH_SOCK
+
+xmodmap .Xmodmap
+xcape -e "Control_R=Escape"
+
+nm-applet &
+xscreensaver &
+xss-lock -- xscreensaver-command --lock &
+dunst &
+
+if ! pgrep -u "$USER" ssh-agent > /dev/null; then
+ ssh-agent > ~/.ssh-agent-thing
+fi
+if [[ "$SSH_AGENT_PID" == "" ]]; then
+ eval "$(<~/.ssh-agent-thing)"
+fi
+
+while true; do
+ dwm
+done &
+
+
+exec sh /home/julian/.dwmSession.sh