Initial commit
This commit is contained in:
Executable
+12
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
touchpad_id=$(xinput list | grep -i 'touchpad' | grep -oE 'id=[0-9]+' | cut -d= -f2)
|
||||
|
||||
if [ -z "$touchpad_id" ]; then
|
||||
echo "Touchpad not found." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
xinput set-prop "$touchpad_id" "libinput Tapping Enabled" 1
|
||||
xinput set-prop "$touchpad_id" "libinput Natural Scrolling Enabled" 1
|
||||
|
||||
Executable
+20
@@ -0,0 +1,20 @@
|
||||
#!/usr/bin/env sh
|
||||
# Generate with arandr
|
||||
# xrandr \
|
||||
# --output eDP \
|
||||
# --mode 1920x1080 \
|
||||
# --pos 0x0 \
|
||||
# --rotate normal \
|
||||
# --output HDMI-A-0 --off \
|
||||
# --output DisplayPort-0 --off \
|
||||
# --output DisplayPort-1 --off \
|
||||
# --output DisplayPort-2 --off \
|
||||
# --output DisplayPort-3 \
|
||||
# --primary \
|
||||
# --mode 2560x1440 \
|
||||
# --pos 1920x0 \
|
||||
# --rotate normal \
|
||||
# --output DisplayPort-4 \
|
||||
# --mode 1920x1200 \
|
||||
# --pos 4480x0 \
|
||||
# --rotate normal
|
||||
Reference in New Issue
Block a user