aboutsummaryrefslogtreecommitdiff
path: root/dwm/.dwm/autostart
diff options
context:
space:
mode:
authorLuca Matei Pintilie <lucafulger@gmail.com>2022-02-11 16:35:29 +0000
committerLuca Matei Pintilie <lucafulger@gmail.com>2022-02-11 16:35:29 +0000
commite54014dffba9ca9db6f9088017f18fbf4fb02d6e (patch)
tree15cc644ddf7ce3ed353c5d87b0737029da322da8 /dwm/.dwm/autostart
parent4417eb0a77892f4b24eeb5adc97b8890f14187fb (diff)
parenta6756c60d5481e6b679cbca0369c0d56076de95c (diff)
downloaddotfiles-e54014dffba9ca9db6f9088017f18fbf4fb02d6e.tar
dotfiles-e54014dffba9ca9db6f9088017f18fbf4fb02d6e.tar.gz
dotfiles-e54014dffba9ca9db6f9088017f18fbf4fb02d6e.tar.bz2
dotfiles-e54014dffba9ca9db6f9088017f18fbf4fb02d6e.tar.lz
dotfiles-e54014dffba9ca9db6f9088017f18fbf4fb02d6e.tar.xz
dotfiles-e54014dffba9ca9db6f9088017f18fbf4fb02d6e.tar.zst
dotfiles-e54014dffba9ca9db6f9088017f18fbf4fb02d6e.zip
Merge branch 'master' of aninternettroll.xyz:aninternettroll/dotfiles
Diffstat (limited to '')
-rwxr-xr-xdwm/.dwm/autostart29
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