aboutsummaryrefslogtreecommitdiff
path: root/dwm/.dwm/autostart
diff options
context:
space:
mode:
authorLuca Matei Pintilie <lucafulger@gmail.com>2021-12-21 20:22:43 +0000
committerLuca Matei Pintilie <lucafulger@gmail.com>2021-12-21 20:22:43 +0000
commit2169a4155362a7f1639e4ad78033abb193f2d565 (patch)
tree463b62f77e90862496fcab792a45c5d21f4d73fc /dwm/.dwm/autostart
downloaddotfiles-2169a4155362a7f1639e4ad78033abb193f2d565.tar
dotfiles-2169a4155362a7f1639e4ad78033abb193f2d565.tar.gz
dotfiles-2169a4155362a7f1639e4ad78033abb193f2d565.tar.bz2
dotfiles-2169a4155362a7f1639e4ad78033abb193f2d565.tar.lz
dotfiles-2169a4155362a7f1639e4ad78033abb193f2d565.tar.xz
dotfiles-2169a4155362a7f1639e4ad78033abb193f2d565.tar.zst
dotfiles-2169a4155362a7f1639e4ad78033abb193f2d565.zip
Initial commit
Diffstat (limited to 'dwm/.dwm/autostart')
-rwxr-xr-xdwm/.dwm/autostart20
1 files changed, 20 insertions, 0 deletions
diff --git a/dwm/.dwm/autostart b/dwm/.dwm/autostart
new file mode 100755
index 0000000..532f13c
--- /dev/null
+++ b/dwm/.dwm/autostart
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+# How2bind???
+#setxkbmap -layout us,no -option grp:ctrl_win_l_toggle
+picom --vsync --no-fading-openclose --refresh-rate "59.96" &
+xrdb merge ~/Public/xresources/forest/.Xresources &
+feh --bg-tile ~/Pictures/wall/bee.jpg &
+
+# Set up touchpad controls
+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
+
+# run bar script and dwm ( do not remove this )
+SYMLINKDIR=(readlink -f "$0")
+BASEDIR=$(dirname "$SYMLINKDIR")
+$BASEDIR/.dwm/bar/./bar.sh &
+
+dwm