nixos-configs/hypr/scripts/tablet/laptop-mode.sh
2023-06-14 03:16:26 -04:00

10 lines
239 B
Bash
Executable file

#!/usr/bin/env bash
eww update toggle-state=false
/usr/bin/setsysmode laptop
gsettings set org.gnome.desktop.a11y.applications screen-keyboard-enabled false
brightnessctl -d tpacpi::kbd_backlight s 2
killall iio-hyprland
killall evtest