aboutsummaryrefslogtreecommitdiff
path: root/dwm/.dwm/autostart
diff options
context:
space:
mode:
authorAnInternetTroll <lucafulger@gmail.com>2022-01-23 17:45:47 +0000
committerAnInternetTroll <lucafulger@gmail.com>2022-01-23 17:45:47 +0000
commitb8821cb26c5d87386fb052ea279afbe467d232d3 (patch)
tree5b0e772403da7cbe2b0f91485630140636dddcaf /dwm/.dwm/autostart
parent92c1d51a5006edaf72b148d7440853e220fcb592 (diff)
downloaddotfiles-b8821cb26c5d87386fb052ea279afbe467d232d3.tar
dotfiles-b8821cb26c5d87386fb052ea279afbe467d232d3.tar.gz
dotfiles-b8821cb26c5d87386fb052ea279afbe467d232d3.tar.bz2
dotfiles-b8821cb26c5d87386fb052ea279afbe467d232d3.tar.lz
dotfiles-b8821cb26c5d87386fb052ea279afbe467d232d3.tar.xz
dotfiles-b8821cb26c5d87386fb052ea279afbe467d232d3.tar.zst
dotfiles-b8821cb26c5d87386fb052ea279afbe467d232d3.zip
Small updates
Diffstat (limited to 'dwm/.dwm/autostart')
-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