mirror of
https://github.com/prdlk/dotfiles.git
synced 2026-11-03 03:37:36 +00:00
chore(config): add workspace rules and tablet mapping, fix tldraw launch
This commit is contained in:
1 parent
40f107c81f
commit
8a510bec89
9 files changed
+75
-10
No files matched your search
@@ -49,6 +49,16 @@
|
||||
-- },
|
||||
-- })
|
||||
|
||||
-- hyprglass (Apple-style liquid glass) is loaded, but the Spectra theme owns
|
||||
-- blur now: ~/.config/omarchy/themes/spectra/hyprland.lua enables
|
||||
-- decoration:blur for windows and a layer_rule for the Quickshell surfaces.
|
||||
-- Two blur passes over the same surface just costs GPU time, so hyprglass's
|
||||
-- layer pass stays off here. The namespaces it used to whitelist (waybar,
|
||||
-- swaync, quickshell:bezel) do not exist under Omarchy 4 anyway -- the shell is
|
||||
-- Quickshell under omarchy-bar / omarchy-menu / omarchy-notifications / ...
|
||||
-- To hand the shell surfaces back to hyprglass: set layers.enabled = 1, restore
|
||||
-- the hg.layer() calls below with the omarchy-* namespaces, and drop those same
|
||||
-- namespaces from the theme's hl.layer_rule.
|
||||
if hl.plugin.hyprglass then
|
||||
local hg = hl.plugin.hyprglass
|
||||
|
||||
@@ -61,14 +71,13 @@ if hl.plugin.hyprglass then
|
||||
dark = { brightness = 0.82 },
|
||||
light = { adaptive_boost = 0.5 },
|
||||
|
||||
layers = { enabled = 1 },
|
||||
layers = { enabled = 0 },
|
||||
})
|
||||
|
||||
-- Layer surfaces: each call whitelists the namespace and configures it
|
||||
hg.layer("waybar", { preset = "subtle", mask_threshold = 0.05 })
|
||||
hg.layer("swaync")
|
||||
hg.layer("quickshell:bezel", { preset = "ui", mask_threshold = 0.3 })
|
||||
hg.layer("debug-panel", { exclude = true })
|
||||
-- hg.layer("omarchy-bar", { preset = "subtle", mask_threshold = 0.05 })
|
||||
-- hg.layer("omarchy-notifications")
|
||||
-- hg.layer("omarchy-menu", { preset = "ui", mask_threshold = 0.3 })
|
||||
|
||||
-- Presets
|
||||
hg.preset("clear", {
|
||||
|
||||
Reference in new issue
Block a user