aboutsummaryrefslogtreecommitdiff
path: root/wmutils/.xinitrc
diff options
context:
space:
mode:
Diffstat (limited to 'wmutils/.xinitrc')
-rw-r--r--wmutils/.xinitrc54
1 files changed, 54 insertions, 0 deletions
diff --git a/wmutils/.xinitrc b/wmutils/.xinitrc
new file mode 100644
index 0000000..3e0eaf8
--- /dev/null
+++ b/wmutils/.xinitrc
@@ -0,0 +1,54 @@
+#!/bin/sh
+
+exec 1>&2 2>/dev/null
+
+BOOTSTRAP=$(dirname `readlink -f $0`)
+XRESOURCES=$BOOTSTRAP/xresources
+PATH="$PATH:$BOOTSTRAP/bin"
+
+export XRESOURCES PATH BOOTSTRAP
+
+# merge custom x resources
+xrdb -merge "${HOME}/.Xdefaults" &
+
+# custom keymappings
+xmodmap ~/.xmodmap
+
+# terminal emulator
+urxvtd -q -f -o &
+
+# compositing manager
+compton -b --config ~/.config/compton.conf &
+
+# configure touchpad
+syndaemon -i 0.8 -d &
+if egrep -iq 'touchpad' /proc/bus/input/devices; then
+ synclient VertEdgeScroll=0 &
+ synclient TapButton1=1 &
+ synclient TapButton2=1 &
+ synclient TapButton3=2 &
+ synclient VertTwoFingerScroll=1 &
+ synclient HorizTwoFingerScroll=1 &
+fi
+
+# keyboard settings - 250 ms delay and 25 cps (characters per second) repeat rate.
+xset r rate 250 25 &
+
+# disable system beep
+xset b off &
+
+# start the rock
+mpd &
+
+# wallpaper
+hsetroot -full ~/images/wallpaper/cyberpunk-5.png
+
+# default cursor
+xsetroot -cursor_name left_ptr
+
+# hotkey daemon
+sxhkd -c ~/.sxhkdrc &
+
+# ░▒▓█ wmutis █▓▒░
+~/bin/wm &
+exec ~/bin/xwait