From 5a4d4a06a287985fbf5b458056881d3d0a0c71aa Mon Sep 17 00:00:00 2001 From: xero Date: Sun, 22 Jan 2017 23:22:55 -0500 Subject: add wmutils setup --- wmutils/.xinitrc | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 wmutils/.xinitrc (limited to 'wmutils/.xinitrc') 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 -- cgit v1.2.1