summaryrefslogtreecommitdiff
path: root/config/chroot_local-hooks/03-steelfire-fixes
blob: 415249e36e14a9b59f00f0c0914b4918ef71848c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/sh
for file in /root/config/*; do [ -r $file ] && . $file; done

if [ "$LB_DISTRIBUTION" = "stretch" ]; then

# enable tapping

mkdir -p /etc/X11/xorg.conf.d

cat <<"EOF" >/etc/X11/xorg.conf.d/40-libinput.conf
Section "InputClass"
        Identifier "libinput touchpad catchall"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
        Option "Tapping" "on"
        #Option "DisableWhileTyping" "1"
EndSection
EOF

# set gtk2 theme
    sed -i s/Industrial/Clearlooks-Phenix/ /etc/skel/.gtkrc-2.0
    echo 'gtk-theme-name="Clearlooks-Phenix"' >>/etc/skel/.gtkrc-2.0
    ln -s .gtkrc-2.0 /etc/skel/.gtkrc-2.0-kde4

fi