diff options
Diffstat (limited to 'dwm/.dwm/autostart')
-rwxr-xr-x | dwm/.dwm/autostart | 29 |
1 files changed, 22 insertions, 7 deletions
diff --git a/dwm/.dwm/autostart b/dwm/.dwm/autostart index 532f13c..71595cc 100755 --- a/dwm/.dwm/autostart +++ b/dwm/.dwm/autostart @@ -2,19 +2,34 @@ # 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 --bg-tile ~/Pictures/wall/bee.jpg & +feh --auto-reload --bg-fill ~/Pictures/wall.jpg & # Set up touchpad controls -TID=$(xinput | sed -n 's/.*Touchpad.*id=\([0-9]*\).*/\1/p') + +# 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 -xinput --set-prop $TID 'libinput Tapping Enabled' 1 -xinput --set-prop $TID 'libinput Natural Scrolling Enabled' 1 + +# 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") +SYMLINKDIR=$(readlink -f "$0") BASEDIR=$(dirname "$SYMLINKDIR") -$BASEDIR/.dwm/bar/./bar.sh & +$BASEDIR/bar/./bar.sh & +xrdb merge $BASEDIR/xresources & + +dunst & +nm-applet & +light-locker --lock-on-suspend & -dwm +dbus-run-session dwm |