summaryrefslogtreecommitdiff
path: root/.config/x11
diff options
context:
space:
mode:
Diffstat (limited to '.config/x11')
-rw-r--r--.config/x11/xinitrc6
-rw-r--r--.config/x11/xprofile12
2 files changed, 18 insertions, 0 deletions
diff --git a/.config/x11/xinitrc b/.config/x11/xinitrc
new file mode 100644
index 0000000..59df04a
--- /dev/null
+++ b/.config/x11/xinitrc
@@ -0,0 +1,6 @@
+#!/bin/sh
+# xinitrc runs automatically when you run startx.
+
+[ -f /home/filipek/.config/x11/xprofile ] && . /home/filipek/.config/x11/xprofile
+[ -f /home/filipek/.config/x11/xinputrc ] && . /home/filipek/.config/x11/xinputrc
+exec dwm
diff --git a/.config/x11/xprofile b/.config/x11/xprofile
new file mode 100644
index 0000000..aa66e07
--- /dev/null
+++ b/.config/x11/xprofile
@@ -0,0 +1,12 @@
+#!/bin/sh
+# Filip's xprofile.
+
+# Autostart stuff on reboot
+autostart="remaps slstatus xcompmgr xhidecursor"
+
+for program in $autostart; do
+ pidof -sx "$program" || "$program" &
+done >/dev/null 2>&1
+
+# Set wallpaper
+xwallpaper --stretch "$HOME"/pix/wallpaper.jpg