Persist workspace layout toggles across Hyprland reloads

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
David Heinemeier Hansson
2026-07-23 21:03:43 -07:00
co-authored by Claude Fable 5
parent 202296324a
commit 2c8639ffbd
4 changed files with 86 additions and 1 deletions
+8
View File
@@ -0,0 +1,8 @@
-- Restore workspace layouts saved by omarchy-hyprland-workspace-layout-toggle.
local paths = require("default.hypr.paths")
local require_all = require("default.hypr.require_all")
local layouts_dir = paths.state_home .. "/omarchy/workspace-layouts"
require_all.files(layouts_dir, "omarchy.workspace-layouts", { reload = true })