Skip to content
Merged
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
da5367f
feat: add wayle bar support as alternative to waybar
0xGeN02 May 6, 2026
06c3343
dev
kRHYME7 May 7, 2026
256c1e1
Merge branch 'rc' into dev
kRHYME7 May 7, 2026
f6cea51
docs: add @0xGeN02 to contributors
0xGeN02 May 6, 2026
db01275
feat: add wayle-bin and matugen-bin as optional packages in pkg_extra…
0xGeN02 May 6, 2026
8c8b8bc
feat: add wallbash-to-wayle palette bridge for dynamic theming
0xGeN02 May 7, 2026
1407d38
Merge branch 'dev' into feat/wayle-support
kRHYME7 May 7, 2026
d2c6841
[feat] add wayle bar support as alternative to waybar (#1730)
kRHYME7 May 7, 2026
7d64834
fix: hyde-shell pypr subcommand passes args as single string to pypr …
Cc050511 May 10, 2026
9ef226e
Remove
kRHYME7 May 10, 2026
16e5e7b
fix: Fix Hyprland 0.55 breaking changes in configuration files (#1742)
PureFallen May 11, 2026
6294e28
Merge branch 'rc' into dev
kRHYME7 May 11, 2026
9f0d6ed
Merge branch 'rc' into dev
kRHYME7 May 14, 2026
e024636
Merge branch 'dev' of https://github.com/HyDE-Project/HyDE into dev
kRHYME7 May 14, 2026
736e555
fix(hypr): unset HL_INITIAL_WORKSPACE_TOKEN in startup to prevent ap…
BigDawnGhost Jun 11, 2026
36c98ec
docs: sync Chinese README with English version (#1779)
BigDawnGhost Jun 11, 2026
8b2e59e
fix(volume): use [[ ]] for VOLUME_PIPEWIRE_ENABLE comparison (#1786)
BigDawnGhost Jun 11, 2026
1fbf3b5
fix(pm): restore module header position in zypper.py (#1784)
BigDawnGhost Jun 11, 2026
1ca4d45
Fix/globalcontrol wallpaper validation (#1785)
BigDawnGhost Jun 11, 2026
0969b82
fix(zsh,hyde-shell): prevent PATH duplication on repeated source (#1823)
NoistNT Jul 25, 2026
6eb07e2
Lua (#1755)
kRHYME7 Jul 27, 2026
c2ebde6
Lua (#1835)
kRHYME7 Jul 27, 2026
2611591
Merge branch 'rc' into dev
kRHYME7 Jul 27, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 46 additions & 14 deletions Configs/.local/lib/hyde/color/hypr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,17 @@ eval "$(hyq "$HYDE_THEME_DIR/hypr.theme" \
[[ -z ${__MONOSPACE_FONT_SIZE} ]] && __MONOSPACE_FONT_SIZE=$(get_hyprConf "MONOSPACE_FONT_SIZE[int]")
[[ -z ${__CODE_THEME} ]] && __CODE_THEME=$(get_hyprConf "CODE_THEME")

# Faster: assigns escaped result to a variable instead of using subshell
lua_quote_to() {
local _val="${2:-}"
_val="${_val//\\/\\\\}"
_val="${_val//\"/\\\"}"
_val="${_val//$'\n'/\\n}"
_val="${_val//$'\r'/\\r}"

printf -v "$1" '%s' "$_val"
}

handle_on_lua() {
ui_state="${XDG_STATE_HOME}/hyde/lua_state/ui.lua"
wallbash_mode="theme"
Expand All @@ -48,38 +59,59 @@ handle_on_lua() {
elif [[ ${enableWallDcol:-0} -eq 3 ]]; then
wallbash_mode="light"
fi

local _hyde_theme _gtk_theme _icon_theme _color_scheme
local _cursor_theme _font _document_font _monospace_font
local _notification_font _bar_font _menu_font
local _code_theme _sddm_theme _wallbash_mode

lua_quote_to _hyde_theme "${HYDE_THEME}"
lua_quote_to _gtk_theme "${__GTK_THEME}"
lua_quote_to _icon_theme "${__ICON_THEME}"
lua_quote_to _color_scheme "${__COLOR_SCHEME}"
lua_quote_to _cursor_theme "${__CURSOR_THEME}"
lua_quote_to _font "${__FONT}"
lua_quote_to _document_font "${__DOCUMENT_FONT}"
lua_quote_to _monospace_font "${__MONOSPACE_FONT}"
lua_quote_to _notification_font "${__NOTIFICATION_FONT:-${__FONT}}"
lua_quote_to _bar_font "${__BAR_FONT:-${__FONT}}"
lua_quote_to _menu_font "${__MENU_FONT:-${__FONT}}"
lua_quote_to _code_theme "${__CODE_THEME}"
lua_quote_to _sddm_theme "${__SDDM_THEME}"
lua_quote_to _wallbash_mode "${wallbash_mode}"

# ? UI config state
cat <<ON_WALLBASH >"${ui_state}" && print_log -sec "theme" -stat "Updating HyDE Lua UI state for wallbash mode"
-- Auto-generated by HyDE // Read-only
local ui_state = {
ui = {
hyde_theme = "${HYDE_THEME}",
hyde_theme = "$_hyde_theme",
-- gtk
gtk_theme = "${__GTK_THEME}",
icon_theme = "${__ICON_THEME}",
color_scheme = "${__COLOR_SCHEME}",
gtk_theme = "$_gtk_theme",
icon_theme = "$_icon_theme",
color_scheme = "$_color_scheme",

-- Cursor
cursor_theme = "${__CURSOR_THEME}",
cursor_theme = "$_cursor_theme",
cursor_size = ${__CURSOR_SIZE:-nil},

-- Fonts
font = "${__FONT}",
font = "$_font",
font_size = ${__FONT_SIZE:-nil},
document_font = "${__DOCUMENT_FONT}",
document_font = "$_document_font",
document_font_size = ${__DOCUMENT_FONT_SIZE:-nil},
monospace_font = "${__MONOSPACE_FONT}",
monospace_font = "$_monospace_font",
monospace_font_size = ${__MONOSPACE_FONT_SIZE:-nil},
notification_font = "${__NOTIFICATION_FONT:-${__FONT}}",
bar_font = "${__BAR_FONT:-${__FONT}}",
menu_font = "${__MENU_FONT:-${__FONT}}",
notification_font = "$_notification_font",
bar_font = "$_bar_font",
menu_font = "$_menu_font",

-- Extra Themes
code_theme = "${__CODE_THEME}",
sddm_theme = "${__SDDM_THEME}",
code_theme = "$_code_theme",
sddm_theme = "$_sddm_theme",
},
wallbash = {
mode = "${wallbash_mode}",
mode = "$_wallbash_mode",
},
}

Expand Down
Loading