diff options
author | xero <x@xero.nu> | 2017-01-22 23:22:55 -0500 |
---|---|---|
committer | xero <x@xero.nu> | 2017-01-22 23:22:55 -0500 |
commit | 5a4d4a06a287985fbf5b458056881d3d0a0c71aa (patch) | |
tree | 0daa8de87d60c396ca3dbadccbdfe735fc5f72d8 /wmutils/.xinitrc | |
parent | 4d6c6b497c3e4d5d6bd4e7728f42303f23120f27 (diff) | |
download | dotfiles_ascii-5a4d4a06a287985fbf5b458056881d3d0a0c71aa.tar.xz dotfiles_ascii-5a4d4a06a287985fbf5b458056881d3d0a0c71aa.zip |
add wmutils setup
Diffstat (limited to 'wmutils/.xinitrc')
-rw-r--r-- | wmutils/.xinitrc | 54 |
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 |