diff --git a/home/modules/niri.nix b/home/modules/niri.nix index 2d5972e..f4301e8 100644 --- a/home/modules/niri.nix +++ b/home/modules/niri.nix @@ -90,8 +90,8 @@ }; switch-events = { - "tablet-mode-on".action.spawn = ["wlr-randr" "--output" "eDP-1" "--rotate" "90"]; - "tablet-mode-off".action.spawn = ["wlr-randr" "--output" "eDP-1" "--rotate" "normal"]; + "tablet-mode-on".action.spawn = ["niri" "msg" "output" "eDP-1" "transform" "90"]; + "tablet-mode-off".action.spawn = ["niri" "msg" "output" "eDP-1" "transform" "normal"]; }; layout = {