From 95e4e4d545b1757de5500aa51d9dad7ddd425b83 Mon Sep 17 00:00:00 2001 From: Florian Egger Date: Mon, 13 Jul 2026 15:10:02 +0200 Subject: [PATCH] Update main.js --- pinenote-shell/src/main.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pinenote-shell/src/main.js b/pinenote-shell/src/main.js index f7a916a..b69f6d3 100644 --- a/pinenote-shell/src/main.js +++ b/pinenote-shell/src/main.js @@ -64,12 +64,12 @@ class ScreenRotator { ? 0 // Hyprland transform: NORMAL : 3 // Hyprland transform: ROTATE_270_DEG (portrait) - // Hyprland expects keyword monitor ,transform, + // Hyprland keyword monitor ,transform, + // Executed as a shell command so the comma-separated argument is preserved. await execAsync([ - "hyprctl", - "keyword", - "monitor", - `${monitor.name},transform,${transform}`, + "bash", + "-c", + `hyprctl keyword monitor "${monitor.name},transform,${transform}"`, ]) notify(`Screen rotated to ${rotation}`)