repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by bugabinga

hypr/modules/appearance.lua

Raw
local nugu = require("generated.nugu")
local t = nugu.current()
local rgba = nugu.rgba

hl.config({
  general = {
    gaps_in = 4,
    gaps_out = 8,
    border_size = 2,
    col = {
      active_border = { colors = { rgba(t.content.accent, "ee"), rgba(t.content.important_local, "ee") }, angle = 42 },
      inactive_border = rgba(t.ui.unfocus, "88"),
    },
    resize_on_border = true,
    allow_tearing = false,
    layout = "dwindle",
  },

  decoration = {
    rounding = 7,
    rounding_power = 2,
    active_opacity = 1.0,
    inactive_opacity = 0.96,
    shadow = {
      enabled = true,
      range = 8,
      render_power = 2,
      color = rgba(t.content.backdrop, "cc"),
    },
    blur = {
      enabled = true,
      size = 4,
      passes = 2,
      vibrancy = 0.12,
      noise = 0.02,
    },
  },

  dwindle = {
    preserve_split = true,
    smart_split = true,
  },

  master = {
    new_status = "master",
  },

  group = {
    col = {
      border_active = rgba(t.content.accent, "ee"),
      border_inactive = rgba(t.ui.unfocus, "88"),
    },
  },

  misc = {
    force_default_wallpaper = 0,
    disable_hyprland_logo = true,
    disable_splash_rendering = true,
    vrr = 0,
  },

  ecosystem = {
    no_update_news = true,
    no_donation_nag = true,
  },

  xwayland = {
    force_zero_scaling = true,
  },
})