Преглед на файлове

added xinput commands to .xinitrc

bananicorn преди 6 години
родител
ревизия
f1045f53cf
променени са 2 файла, в които са добавени 5 реда и са изтрити 6 реда
  1. 3 5
      .xinitrc
  2. 2 1
      setup.sh

+ 3 - 5
.xinitrc

@@ -36,13 +36,11 @@ if [ -d /etc/X11/xinit/xinitrc.d ] ; then
  unset f
 fi
 
-# start background and set a random one
-exec ~/.fehbg &
-exec --no-startup-id feh --randomize --bg-fill ~Wallpapers/* &
-
 # keyboard
 exec setxkbmap -option caps:escape -layout de &
+exec xinput set-prop 'SynPS/2 Synaptics TouchPad' 'Synaptics Tap Action' 1 1 1 1 1 1 1 &
+exec xinput set-prop 'SynPS/2 Synaptics TouchPad' 'Synaptics Two-Finger Scrolling' 1 1 &
+exec xinput set-prop 'TPPS/2 IBM TrackPoint' 'libinput Accel Speed' -.3 &
 
 #and finally start the WM
 exec i3
-# exec dwm

+ 2 - 1
setup.sh

@@ -4,5 +4,6 @@ cp .bash_profile ~/.bash_profile
 cp .fishrc ~/.fishrc
 cp .xinitrc ~/.xinitrc
 ./setup-vim.sh
-mkdir ~/.config
+mkdir -p ~/.config
+mkdir -p ~/.config/i3
 cp -r i3 ~/.config/i3/config