Update .xinirc

a44c246c1479ed2dcdcde9b5d087196a90cf498e
Alexis Sellier committed ago 1 parent 76d2ba6a
.wacom +4 -2
1 1
#!/bin/sh
2 2
3 -
xsetwacom --set "Wacom Intuos Pro M Finger touch" Gesture off
4 -
xsetwacom --set "Wacom Intuos Pro M Finger touch" Touch off
3 +
if command -v xsetwacom >/dev/null 2>&1; then
4 +
	xsetwacom --set "Wacom Intuos Pro M Finger touch" Gesture off
5 +
	xsetwacom --set "Wacom Intuos Pro M Finger touch" Touch off
6 +
fi
.xinitrc +2 -7
1 1
#!/bin/sh
2 2
#
3 3
# ~/.xinitrc
4 4
#
5 +
set -uo pipefail
6 +
5 7
. ~/bin/toggle-displays
6 8
7 9
[ -f ~/.profile ]   && . ~/.profile
8 10
[ -f ~/.synaptics ] && . ~/.synaptics
9 11
15 17
16 18
if [ -f ~/.Xresources ]; then
17 19
  xrdb -merge ~/.Xresources
18 20
fi
19 21
20 -
if [ -f /sys/devices/platform/dell-laptop/leds/dell::kbd_backlight/stop_timeout ]; then
21 -
	echo 300s | sudo tee /sys/devices/platform/dell-laptop/leds/dell::kbd_backlight/stop_timeout
22 -
fi
23 -
24 22
udiskie --no-notify --use-udisks2 &
25 23
26 -
# Auto-lock
27 -
# xautolock -time 5 -locker slock &
28 -
29 24
[ -f ~/.fehbg ] && . ~/.fehbg
30 25
[ -f ~/.wacom ] && . ~/.wacom
31 26
32 27
exec xmonad