diff --git a/home-manager/desktop/vicinae.nix b/home-manager/desktop/vicinae.nix index 1ba4f4a..03f86fb 100644 --- a/home-manager/desktop/vicinae.nix +++ b/home-manager/desktop/vicinae.nix @@ -1,4 +1,4 @@ -{ inputs, ... }: +{ config, inputs, ... }: { imports = [ inputs.vicinae.homeManagerModules.default @@ -8,4 +8,8 @@ enable = true; autoStart = true; }; + + xdg.configFile."matugen/config.toml".source = "${config.dotfiles.path}/.config/matugen/config.toml"; + xdg.configFile."matugen/templates/vicinae.toml".source = + "${config.dotfiles.path}/.config/matugen/templates/vicinae.toml"; } diff --git a/home/.config/matugen/config.toml b/home/.config/matugen/config.toml new file mode 100644 index 0000000..e162dc3 --- /dev/null +++ b/home/.config/matugen/config.toml @@ -0,0 +1,6 @@ +[config] + +[templates.vicinae] +input_path = '~/.config/matugen/templates/vicinae.toml' +output_path = '~/.local/share/vicinae/themes/matugen.toml' +post_hook = 'vicinae theme set matugen' diff --git a/home/.config/matugen/templates/vicinae.toml b/home/.config/matugen/templates/vicinae.toml new file mode 100644 index 0000000..b56dbfb --- /dev/null +++ b/home/.config/matugen/templates/vicinae.toml @@ -0,0 +1,127 @@ +# Vicinae Matugen Theme Template +# Used LLM for initial generation, then modified to a satisfactory level + +[meta] +name = "Matugen" +description = "Material You theme generated by Matugen - {{mode}} variant" +variant = "{{mode}}" + +# ============================================================================ +# Core Colors +# ============================================================================ + +[colors.core] +accent = "{{colors.primary.default.hex}}" +accent_foreground = "{{colors.on_primary.default.hex}}" +background = "{{colors.surface.default.hex}}" +foreground = "{{colors.on_surface.default.hex}}" +secondary_background = "{{colors.surface_container.default.hex}}" +border = "{{colors.outline_variant.default.hex}}" + +# ============================================================================ +# Window Borders +# ============================================================================ + +[colors.main_window] +border = "{{colors.outline_variant.default.hex}}" + +[colors.settings_window] +border = "{{colors.outline.default.hex}}" + +# ============================================================================ +# Accent Palette +# ============================================================================ + +[colors.accents] +blue = "{{colors.primary.default.hex}}" +green = "{{colors.tertiary.default.hex}}" +magenta = "{{colors.secondary.default.hex}}" +orange = { name = "{{colors.error.default.hex}}", lighter = 40 } +red = "{{colors.error.default.hex}}" +yellow = { name = "{{colors.tertiary.default.hex}}", lighter = 80 } +cyan = { name = "{{colors.primary.default.hex}}", lighter = 50 } +purple = "{{colors.secondary.default.hex}}" + +# ============================================================================ +# Text System +# ============================================================================ + +[colors.text] +default = "{{colors.on_surface.default.hex}}" +muted = "{{colors.on_surface_variant.default.hex}}" +danger = "{{colors.error.default.hex}}" +success = "{{colors.tertiary.default.hex}}" +placeholder = { name = "{{colors.on_surface_variant.default.hex}}", opacity = 0.6 } + +[colors.text.selection] +background = "{{colors.primary.default.hex}}" +foreground = "{{colors.on_primary.default.hex}}" + +[colors.text.links] +default = "{{colors.primary.default.hex}}" +visited = { name = "{{colors.tertiary.default.hex}}", darker = 20 } + +# ============================================================================ +# Input Fields +# ============================================================================ + +[colors.input] +border = "{{colors.outline.default.hex}}" +border_focus = "{{colors.primary.default.hex}}" +border_error = "{{colors.error.default.hex}}" + +# ============================================================================ +# Buttons +# ============================================================================ + +[colors.button.primary] +background = "{{colors.surface_container_high.default.hex}}" +foreground = "{{colors.on_surface.default.hex}}" + +[colors.button.primary.hover] +background = "{{colors.surface_container_highest.default.hex}}" + +[colors.button.primary.focus] +outline = "{{colors.primary.default.hex}}" + +# ============================================================================ +# Lists +# ============================================================================ + +[colors.list.item.hover] +background = { name = "{{colors.primary_container.default.hex}}", opacity = 0.25 } +foreground = "{{colors.on_surface.default.hex}}" + +[colors.list.item.selection] +background = { name = "{{colors.primary_container.default.hex}}", opacity = 0.50 } +foreground = "{{colors.on_primary_container.default.hex}}" +secondary_background = "{{colors.primary_container.default.hex}}" +secondary_foreground = "{{colors.on_primary_container.default.hex}}" + +# ============================================================================ +# Grid Items +# ============================================================================ + +[colors.grid.item] +background = "{{colors.surface_container.default.hex}}" + +[colors.grid.item.hover] +outline = { name = "{{colors.secondary.default.hex}}", opacity = 0.8 } + +[colors.grid.item.selection] +outline = { name = "{{colors.primary.default.hex}}" } + +# ============================================================================ +# Scrollbars +# ============================================================================ + +[colors.scrollbars] +background = { name = "{{colors.primary.default.hex}}", opacity = 0.2 } + +# ============================================================================ +# Loading States +# ============================================================================ + +[colors.loading] +bar = "{{colors.primary.default.hex}}" +spinner = "{{colors.primary.default.hex}}" diff --git a/home/.config/niri/config.kdl b/home/.config/niri/config.kdl index 21a48db..c147d8d 100644 --- a/home/.config/niri/config.kdl +++ b/home/.config/niri/config.kdl @@ -143,7 +143,8 @@ binds { // Suggested binds for running programs: terminal, app launcher, screen locker. Mod+Return { spawn "ghostty" "+new-window"; } - Mod+D { spawn "dms" "ipc" "call" "spotlight" "toggle"; } + // Mod+D { spawn "dms" "ipc" "call" "spotlight" "toggle"; } + Mod+D { spawn "vicinae" "toggle"; } Super+Alt+L hotkey-overlay-title="Lock session" { spawn "loginctl" "lock-session"; } XF86AudioRaiseVolume allow-when-locked=true { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.05+"; } @@ -153,6 +154,12 @@ binds { XF86MonBrightnessDown { spawn "brightnessctl" "set" "5%-"; } XF86MonBrightnessUp { spawn "brightnessctl" "set" "+5%"; } + // XF86MonBrightnessUp allow-when-locked=true { + // spawn "dms" "ipc" "call" "brightness" "increment" "5" ""; + // } + // XF86MonBrightnessDown allow-when-locked=true { + // spawn "dms" "ipc" "call" "brightness" "decrement" "5" ""; + // } XF86AudioPlay { spawn "playerctl" "play-pause"; } XF86AudioNext { spawn "playerctl" "next"; } @@ -338,6 +345,7 @@ screenshot-path "~/Pictures/Screenshots/Screenshot from %Y-%m-%d %H-%M-%S.png" spawn-at-startup "dms" "run" spawn-at-startup "kdeconnect-indicator" spawn-at-startup "~/rep/flocon/home/bin/monitor-dark-mode.sh" +spawn-at-startup "vicinae" "server" spawn-at-startup "xwayland-satellite" environment {