Files
dotfiles/trackpad/.scripts/trackpad.sh
Sravan Balaji 6a050b96f3 Fix Wayland Startup Issues
- Make all notify-send commands non-blocking
  (i.e., run in background)
- Remove delay array from wayland startup
- Call startup script with `dwl -s`
2024-09-29 16:14:53 -04:00

12 lines
297 B
Bash
Executable File

#!/usr/bin/env bash
trackpad_id=13
if xinput list-props $trackpad_id | grep "Device Enabled (.*):.*1" >/dev/null
then
xinput disable $trackpad_id
notify-send -u low -i mouse "Trackpad disabled" &
else
xinput enable $trackpad_id
notify-send -u low -i mouse "Trackpad enabled" &
fi