blob: 71595cc00792dfca10f591d40f7d87c2053a7656 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
#!/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
|