Krolyxon
Commit e179d72

Branches

Refs →

aurorae179d72

hypr: border and hyprlock colours from matugen

Author
krolyxon
Date
2026-10-25 17:37 +0530
Parent
d8a41c4
Commit
e179d72a4e042385236738d66888b32a933719d4

+9 −15

3 files changed

  1. M .config/hypr/hyprland.lua +5 −2
  2. M .config/hypr/hyprlock.conf +2 −11
  3. M .config/hypr/source/appearance.lua +2 −2
M .config/hypr/hyprland.lua View
@@ -9,13 +9,16 @@ mainMod = "SUPER"
99 HOME = os.getenv("HOME")
1010
1111
12−-- Theme (pywal16)
13−wal = dofile(HOME .. "/.cache/wal/hyprland-colors.lua")
12+-- Theme (matugen, run by aurora on every wallpaper change; fallback until it has run once)
13+local ok, c = pcall(dofile, HOME .. "/.cache/matugen/hyprland-colors.lua")
14+colors = ok and c or { primary = "rgba(80d5cbff)", outline_variant = "rgba(3f4947ff)" }
1415
1516 -- -----------------------------------------------------
1617 -- Autostart
1718 -- -----------------------------------------------------
1819 hl.on("hyprland.start", function()
20+ -- GTK3 on Wayland reads its theme from gsettings, not settings.ini (colours: gtk-3.0/gtk.css, matugen)
21+ hl.exec_cmd("gsettings set org.gnome.desktop.interface gtk-theme adw-gtk3-dark")
1922 hl.exec_cmd("wl-paste --type text --watch cliphist store")
2023 hl.exec_cmd("wl-paste --type image --watch cliphist store")
2124 hl.exec_cmd("hyprpm reload -n")
M .config/hypr/hyprlock.conf View
@@ -1,16 +1,7 @@
11 # hyprlock, styled like aurora (flat, square, accent borders, JetBrains Mono).
2−# Colours: pywal first as a fallback, then aurora's resolved palette (incl. the accent picked in its settings),
2+# Colours: matugen's output first as a fallback, then aurora's resolved palette,
33 # written by aurora's Theme.qml to ~/.config/aurora/hyprlock-colors.conf.
4−source = $HOME/.cache/wal/colors-hyprland.conf
5−$bg = $background
6−$fg = $foreground
7−$accent = $color14
8−$accentDim = $color6
9−$surface = $color0
10−$surfaceHi = $color8
11−$line = $color8
12−$dim = $color8
13−$err = $color1
4+source = $HOME/.cache/matugen/hyprlock.conf
145 $font = JetBrainsMono Nerd Font
156 source = $HOME/.config/aurora/hyprlock-colors.conf
167
M .config/hypr/source/appearance.lua View
@@ -13,12 +13,12 @@ hl.config({
1313 layout = "master",
1414
1515 ["col.active_border"] = {
16− colors = { wal.colors.color14, wal.colors.color14 },
16+ colors = { colors.primary, colors.primary },
1717 angle = 45,
1818 },
1919
2020 ["col.inactive_border"] = {
21− colors = { wal.colors.color0, wal.colors.color0 },
21+ colors = { colors.outline_variant, colors.outline_variant },
2222 angle = 45,
2323 },
2424 },