nixos-configs/hypr/scripts/tablet/tablet-mode.sh

16 lines
551 B
Bash
Raw Normal View History

2023-06-14 03:16:26 -04:00
#!/usr/bin/env bash
eww update toggle-state=true
echo $XDG_DATA_DIRS >> ~/log.log
gsettings set org.gnome.desktop.a11y.applications screen-keyboard-enabled true
brightnessctl -d tpacpi::kbd_backlight s 0
2023-06-19 20:51:55 -04:00
$HOME/.local/bin/iio-hyprland &
2023-06-14 03:16:26 -04:00
evtest --grab "/dev/input/by-path/platform-i8042-serio-0-event-kbd" &
evtest --grab "/dev/input/by-path/platform-i8042-serio-1-event-mouse" &
evtest --grab "/dev/input/by-path/platform-AMDI0010:02-event-mouse" &
evtest --grab "/dev/input/by-path/platform-thinkpad_acpi-event" &
evtest --grab "/dev/video-bus" &