From d7e970939dd6677773a862b4176bb75b7a7e9a6e Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Fri, 18 Sep 2026 09:53:45 +0200 Subject: docs: mark the dashboard's monitor pin as non-functional The workspace rule pinning special:dash to DP-1 does not work: special workspaces ignore a workspace_rule's `monitor` and open on whichever monitor has focus. Verified on 0.56.2; upstream hyprwm/Hyprland#7990 and #5570, both closed in the issues-to-discussions migration rather than fixed. The comment claimed the opposite, which was convincing because the rule does register and `hyprctl workspacerules` reports it enabled. The rule stays, so the intent is recorded and the line is ready if upstream fixes it, and the bind now names the manual step: focus DP-1 first. Also notes that the window stays on DP-3 once opened there, so a later toggle is cropped until it is moved back, the conky surface being a fixed 2560x1080. Co-Authored-By: Claude Opus 5 --- hypr/dashboard.lua | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/hypr/dashboard.lua b/hypr/dashboard.lua index 1902677..9b03e81 100644 --- a/hypr/dashboard.lua +++ b/hypr/dashboard.lua @@ -10,10 +10,19 @@ -- btop scratchpad. local WS = "special:dash" --- Pin the workspace itself to the primary monitor, so the dashboard always --- opens on DP-1 rather than wherever focus happens to be. The conky surface is --- a fixed 2560x1080 (Hyprland's fullscreen rule resizes the window but not the --- drawing surface), so on the 1920-wide DP-3 it would be cropped. +-- Pin the workspace to the primary monitor. THIS DOES NOT WORK: special +-- workspaces ignore a workspace_rule's `monitor` and open on whichever monitor +-- has focus (verified 2026-09-18 on 0.56.2; upstream hyprwm/Hyprland#7990 and +-- #5570, both closed in the issues-to-discussions migration, not fixed). The +-- rule registers and `hyprctl workspacerules` reports it enabled, which is +-- what makes it look like it works. +-- +-- Kept so the intent is recorded and the line is ready if upstream fixes it. +-- Until then the procedure is manual: focus DP-1 before SUPER+S. The conky +-- surface is a fixed 2560x1080 (Hyprland's fullscreen rule resizes the window +-- but not the drawing surface), so on the 1920-wide DP-3 it is cropped, and +-- the window STAYS on DP-3 once opened there, so the next toggle is cropped +-- too until it is moved back. -- -- `hl.workspace_rule` takes `workspace`, not `match`, and unlike -- `hl.window_rule` it has no `name` field; both were checked against the @@ -68,4 +77,7 @@ hl.window_rule({ -- Literal "SUPER", not hl.mainMod: mainMod is a file-local in -- keybindings.lua (`local mainMod = "SUPER"`), not exported on hl, so -- hl.mainMod is nil here. +-- +-- Focus DP-1 before pressing this. The workspace rule above cannot do it, +-- and the dashboard opens on whichever monitor has focus. hl.bind("SUPER + s", hl.dsp.workspace.toggle_special("dash")) -- cgit v1.2.3