diff --git a/home/modules/niri.nix b/home/modules/niri.nix index 4ade44d..96618ff 100644 --- a/home/modules/niri.nix +++ b/home/modules/niri.nix @@ -90,8 +90,8 @@ }; switch-events = { - "tablet-mode-on".action.spawn = ["bash" "-c" "wlr-randr --output eDP-1 --rotate 90 && gsettings set org.gnome.desktop.a11y.applications screen-keyboard-enabled true"]; - "tablet-mode-off".action.spawn = ["bash" "-c" "wlr-randr --output eDP-1 --rotate normal && gsettings set org.gnome.desktop.a11y.applications screen-keyboard-enabled false"]; + "tablet-mode-on".action.spawn = ["bash" "-c" "wlr-randr --output eDP-1 --rotate 90"]; + "tablet-mode-off".action.spawn = ["bash" "-c" "wlr-randr --output eDP-1 --rotate normal"]; }; layout = {