consistent styling
This commit is contained in:
@@ -1,6 +1,11 @@
|
||||
local var_color_active_border = "rgba(74c7ecee)"
|
||||
local var_color_inactive_border = "rgba(45475aee)"
|
||||
local var_color_decoration_shadow = "rgba(74c7ecee)"
|
||||
-- Central theme (basic/.config/themes): single source of truth for colors.
|
||||
-- Consumers must use `theme.*` roles, never hardcoded hex, so a future
|
||||
-- non-Catppuccin theme only adds a new directory. (HyprMod's
|
||||
-- hyprland-gui.conf may additionally override borders at runtime.)
|
||||
local theme = dofile(os.getenv("HOME") .. "/.config/themes/current/theme.lua")
|
||||
local var_color_active_border = theme.border_active
|
||||
local var_color_inactive_border = theme.border_inactive
|
||||
local var_color_decoration_shadow = theme.shadow
|
||||
local var_mainMod = "SUPER"
|
||||
local var_terminal = "kitty"
|
||||
local var_fileManager = "dolphin"
|
||||
@@ -53,7 +58,7 @@ hl.env("XDG_SESSION_DESKTOP", "Hyprland")
|
||||
hl.env("XDG_SESSION_TYPE", "wayland")
|
||||
hl.env("XDG_MENU_PREFIX", "plasma-")
|
||||
hl.env("GTK_USE_PORTAL", "1")
|
||||
hl.env("GTK_THEME", "Adwaita:dark")
|
||||
hl.env("GTK_THEME", os.getenv("THEME_GTK") or "Adwaita:dark")
|
||||
hl.env("QT_WAYLAND_DISABLE_WINDOWDECORATION", "1")
|
||||
hl.env("QT_QPA_PLATFORMTHEME", "kde")
|
||||
|
||||
@@ -65,7 +70,7 @@ hl.env("QT_QPA_PLATFORMTHEME", "kde")
|
||||
-- ## COLOR SCHEMES ###
|
||||
-- ####################
|
||||
|
||||
require("themes.mocha")
|
||||
-- (Colors come from the central theme via `theme` above; no per-file copies.)
|
||||
|
||||
-- ####################
|
||||
-- ## LOOK AND FEEL ###
|
||||
@@ -699,6 +704,20 @@ hl.layer_rule({
|
||||
},
|
||||
blur_popups = true,
|
||||
})
|
||||
-- Central theme: blur behind the wofi popups (SUPER+SPACE drun, SUPER+K
|
||||
-- keybind help), whose window itself is translucent (@bg_translucent).
|
||||
hl.layer_rule({
|
||||
match = {
|
||||
namespace = "wofi",
|
||||
},
|
||||
blur = true,
|
||||
})
|
||||
hl.layer_rule({
|
||||
match = {
|
||||
namespace = "wofi",
|
||||
},
|
||||
blur_popups = true,
|
||||
})
|
||||
hl.window_rule({
|
||||
name = "no-rounding-fullscreen",
|
||||
match = {
|
||||
|
||||
Reference in New Issue
Block a user