#!/bin/sh # How2bind??? #setxkbmap -layout us,no -option grp:ctrl_win_l_toggle setxkbmap -layout no picom --vsync --no-fading-openclose --refresh-rate "59.96" & xrdb merge ~/Public/xresources/forest/.Xresources & feh --auto-reload --bg-fill ~/Pictures/wall.jpg & # Set up touchpad controls # Libinput #TID=$(xinput | sed -n 's/.*Touchpad.*id=\([0-9]*\).*/\1/p') #xinput --set-prop $TID 'libinput Accel Speed' 0.5 #xinput --set-prop $TID 'libinput Tapping Enabled' 1 #xinput --set-prop $TID 'libinput Natural Scrolling Enabled' 1 #xinput --set-prop $TID 'libinput Accel Speed' 0.5 # Synapse TID=`xinput list | grep "SynPS/2 Synaptics TouchPad" | sed 's/.*id=\([0-9]*\).*/\1/g'` PROP_NO=`xinput list-props ${TID} | grep "Synaptics Scrolling Distance" | sed 's/.*(\([0-9]*\)).*/\1/g'` #xinput --set-prop $TID 'Synaptics Tap Action' 1 xinput set-prop ${TID} ${PROP_NO} -106 -106 # run bar script and dwm ( do not remove this ) SYMLINKDIR=$(readlink -f "$0") BASEDIR=$(dirname "$SYMLINKDIR") $BASEDIR/bar/./bar.sh & xrdb merge $BASEDIR/xresources & dunst & nm-applet & light-locker --lock-on-suspend & dbus-run-session dwm