diff --git a/home/modules/niri.nix b/home/modules/niri.nix index 96618ff..e111a7f 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"]; - "tablet-mode-off".action.spawn = ["bash" "-c" "wlr-randr --output eDP-1 --rotate normal"]; + "tablet-mode-on".action.spawn = ["wlr-randr" "--output eDP-1" "--rotate" "90"]; + "tablet-mode-off".action.spawn = ["wlr-randr" "--output" "eDP-1" "--rotate" "normal"]; }; layout = {