Remove enable tap to click

master
Hugo Thunnissen 6 years ago
parent 55240e3b3d
commit fe8c3b1be8

@ -20,5 +20,3 @@ start plank
# Compositing (cool shadows/smooth looks for windows)
start xcompmgr
# Enable tap-to-click
xinput set-prop "DLL082A:01 06CB:76AF Touchpad" "libinput Tapping Enabled" 1

@ -28,8 +28,13 @@ here() {
dirname "$(readlink -f "${BASH_SOURCE[0]}")"
}
config-dir() {
echo "$HOME/.config/openbox"
}
copy-config() {
declare config_dir="$HOME/config/openbox"
declare config_dir=''
config_dir="$(config-dir)"
echo "=> Copying config"
@ -37,9 +42,19 @@ copy-config() {
cp -r "$(here)/config/"* "$config_dir"/
}
add-custom-startup() {
declare startup_file=''
read -rep "Please provide a path to a custom startup script for your sessions (default: ~/.startup):" \
startup_file
[[ -z $startup_file ]] && startup_file="$HOME/.startup"
printf 'source "%s"\n' "$startup_file" >> "$(config-dir)/autostart.sh"
}
setup-openbox-for-user() {
install-dependencies
copy-config
add-custom-startup
echo "=> Finished"
}

Loading…
Cancel
Save