fix: some stff

This commit is contained in:
kenji
2025-12-27 13:27:47 -06:00
parent 4d9d68e7e6
commit cb9c91c7a7
8 changed files with 448 additions and 156 deletions
+1 -1
View File
@@ -22,6 +22,6 @@ output_path = "~/.config/starship.toml"
[templates.walker] [templates.walker]
input_path = "~/.config/matugen/templates/walker" input_path = "~/.config/matugen/templates/walker"
output_path = "~/.config/walker/themes/nixos/matugen.css" output_path = "~/.config/walker/themes/nixos/style.css"
+6 -2
View File
@@ -1,9 +1,12 @@
{pkgs, ...}: { {
pkgs,
inputs,
...
}: {
home.packages = with pkgs; [ home.packages = with pkgs; [
matugen matugen
psmisc # for killall psmisc # for killall
]; ];
home.file.".config/matugen/config.toml" = { home.file.".config/matugen/config.toml" = {
source = ./config.toml; source = ./config.toml;
}; };
@@ -16,4 +19,5 @@
programs.ghostty.settings.theme = "matugen"; programs.ghostty.settings.theme = "matugen";
programs.starship.enable = true; programs.starship.enable = true;
wayland.windowManager.hyprland.settings.source = ["./matugen.conf"]; wayland.windowManager.hyprland.settings.source = ["./matugen.conf"];
programs.walker.config.theme = "nixos";
} }
+207
View File
@@ -0,0 +1,207 @@
@define-color window_bg_color {{colors.surface_container.default.hex}};
@define-color accent_bg_color {{colors.primary.default.hex}};
@define-color theme_fg_color {{colors.on_surface.default.hex}};
@define-color error_bg_color {{colors.error.default.hex}};
@define-color error_fg_color {{colors.on_error.default.hex}};
* {
all: unset;
}
popover {
background: lighter(@window_bg_color);
border: 1px solid darker(@accent_bg_color);
border-radius: 18px;
padding: 10px;
}
.normal-icons {
-gtk-icon-size: 16px;
}
.large-icons {
-gtk-icon-size: 32px;
}
scrollbar {
opacity: 0;
}
.box-wrapper {
box-shadow:
0 19px 38px rgba(0, 0, 0, 0.3),
0 15px 12px rgba(0, 0, 0, 0.22);
background: @window_bg_color;
padding: 20px;
border-radius: 20px;
border: 1px solid darker(@accent_bg_color);
}
.preview-box,
.elephant-hint,
.placeholder {
color: @theme_fg_color;
}
.box {
}
.search-container {
border-radius: 10px;
}
.input placeholder {
opacity: 0.5;
}
.input selection {
background: lighter(lighter(lighter(@window_bg_color)));
}
.input {
caret-color: @theme_fg_color;
background: lighter(@window_bg_color);
padding: 10px;
color: @theme_fg_color;
}
.input:focus,
.input:active {
}
.content-container {
}
.placeholder {
}
.scroll {
}
.list {
color: @theme_fg_color;
}
child {
}
.item-box {
border-radius: 10px;
padding: 10px;
}
.item-quick-activation {
background: alpha(@accent_bg_color, 0.25);
border-radius: 5px;
padding: 10px;
}
/* child:hover .item-box, */
child:selected .item-box {
background: alpha(@accent_bg_color, 0.25);
}
.item-text-box {
}
.item-subtext {
font-size: 12px;
opacity: 0.5;
}
.providerlist .item-subtext {
font-size: unset;
opacity: 0.75;
}
.item-image-text {
font-size: 28px;
}
.preview {
border: 1px solid alpha(@accent_bg_color, 0.25);
/* padding: 10px; */
border-radius: 10px;
color: @theme_fg_color;
}
.calc .item-text {
font-size: 24px;
}
.calc .item-subtext {
}
.symbols .item-image {
font-size: 24px;
}
.todo.done .item-text-box {
opacity: 0.25;
}
.todo.urgent {
font-size: 24px;
}
.todo.active {
font-weight: bold;
}
.bluetooth.disconnected {
opacity: 0.5;
}
.preview .large-icons {
-gtk-icon-size: 64px;
}
.keybinds {
padding-top: 10px;
border-top: 1px solid lighter(@window_bg_color);
font-size: 12px;
color: @theme_fg_color;
}
.global-keybinds {
}
.item-keybinds {
}
.keybind {
}
.keybind-button {
opacity: 0.5;
}
.keybind-button:hover {
opacity: 0.75;
cursor: pointer;
}
.keybind-bind {
text-transform: lowercase;
opacity: 0.35;
}
.keybind-label {
padding: 2px 4px;
border-radius: 4px;
border: 1px solid @theme_fg_color;
}
.error {
padding: 10px;
background: @error_bg_color;
color: @error_fg_color;
}
:not(.calc).current {
font-style: italic;
}
.preview-content.archlinuxpkgs {
font-family: monospace;
}
+2 -1
View File
@@ -1,9 +1,10 @@
{ {
inputs, inputs,
system, system,
pkgs,
... ...
}: { }: {
home.packages = [ home.packages = [
inputs.nixovim.packages.${system}.full inputs.nixovim.packages.${pkgs.system}.full
]; ];
} }
-2
View File
@@ -1,2 +0,0 @@
{
}
+18 -20
View File
@@ -5,37 +5,35 @@
... ...
}: { }: {
imports = [ imports = [
inputs.walker.homeManagerModules.default # ./style.nix
./style.nix
]; ];
programs.walker = { programs.walker = {
enable = true; enable = true;
runAsService = true; runAsService = true;
package = inputs.walker.packages.${pkgs.system}.default; package = inputs.walker.packages.${pkgs.system}.default;
# CSS Implementation using Stylix Colors # CSS Implementation using Stylix Colors
config = { config = {
hide_action_hints = true; hide_action_hints = true;
icons.theme = config.gtk.iconTheme.name; # icons.theme = config.gtk.iconTheme.name;
#
placeholders.default = { # placeholders.default = {
input = "Search"; # input = "Search";
list = "No Results"; # list = "No Results";
}; # };
#
providers.prefixes = [ # providers.prefixes = [
{ # {
provider = "websearch"; # provider = "websearch";
prefix = "+"; # prefix = "+";
} # }
{ # {
provider = "providerlist"; # provider = "providerlist";
prefix = "_"; # prefix = "_";
} # }
]; # ];
}; };
}; };
} }
+208 -129
View File
@@ -1,131 +1,210 @@
{config, ...}: { {config, ...}: {
programs.walker = { # themes."nixos".style = ''
theme.style = '' # @define-color window_bg_color #1f1f28;
@import "matugen.css"; # @define-color accent_bg_color #54546d;
* { # @define-color theme_fg_color #f2ecbc;
all: unset; # @define-color error_bg_color #C34043;
} # @define-color error_fg_color #DCD7BA;
#
* { # * {
font-family: monospace; # all: unset;
font-size: 18px; # }
/* Fixed: Text color must be visible on the background */ #
color: @on_surface; # popover {
} # background: lighter(@window_bg_color);
# border: 1px solid darker(@accent_bg_color);
scrollbar { # border-radius: 18px;
opacity: 0; # padding: 10px;
} # }
#
.normal-icons { # .normal-icons {
-gtk-icon-size: 16px; # -gtk-icon-size: 16px;
} # }
#
.large-icons { # .large-icons {
-gtk-icon-size: 32px; # -gtk-icon-size: 32px;
} # }
#
.box-wrapper { # scrollbar {
/* base00 -> surface */ # opacity: 0;
background: alpha(@surface, 0.95); # }
padding: 20px; #
/* base0E -> secondary (often pink/purple in Firewatch themes) */ # .box-wrapper {
border: 2px solid @secondary; # box-shadow:
} # 0 19px 38px rgba(0, 0, 0, 0.3),
# 0 15px 12px rgba(0, 0, 0, 0.22);
.preview-box { # background: @window_bg_color;
} # padding: 20px;
# border-radius: 20px;
.box { # border: 1px solid darker(@accent_bg_color);
} # }
#
.search-container { # .preview-box,
/* base00 -> surface */ # .elephant-hint,
background: @surface; # .placeholder {
padding: 10px; # color: @theme_fg_color;
} # }
#
.input placeholder { # .box {
opacity: 0.5; # }
} #
# .search-container {
.input { # border-radius: 10px;
} # }
#
.input:focus, # .input placeholder {
.input:active { # opacity: 0.5;
box-shadow: none; # }
outline: none; #
} # .input selection {
# background: lighter(lighter(lighter(@window_bg_color)));
.content-container { # }
} #
# .input {
.placeholder { # caret-color: @theme_fg_color;
} # background: lighter(@window_bg_color);
# padding: 10px;
.scroll { # color: @theme_fg_color;
} # }
#
.list { # .input:focus,
} # .input:active {
# }
child, #
child > * { # .content-container {
} # }
#
child:hover .item-box { # .placeholder {
/* Added hover effect for better usability */ # }
background: @surface_bright; #
} # .scroll {
# }
child:selected .item-box { #
/* Selected background */ # .list {
background: @surface_container_high; # color: @theme_fg_color;
} # }
#
child:selected .item-box * { # child {
/* base0D -> primary */ # }
color: @primary; #
} # .item-box {
# border-radius: 10px;
.item-box { # padding: 10px;
padding-left: 14px; # }
} #
# .item-quick-activation {
.item-text-box { # background: alpha(@accent_bg_color, 0.25);
all: unset; # border-radius: 5px;
padding: 14px 0; # padding: 10px;
} # }
#
.item-text { # /* child:hover .item-box, */
} # child:selected .item-box {
# background: alpha(@accent_bg_color, 0.25);
.item-subtext { # }
font-size: 0px; #
min-height: 0px; # .item-text-box {
margin: 0px; # }
padding: 0px; #
} # .item-subtext {
# font-size: 12px;
.item-image { # opacity: 0.5;
margin-right: 14px; # }
-gtk-icon-transform: scale(0.9); #
} # .providerlist .item-subtext {
# font-size: unset;
.current { # opacity: 0.75;
font-style: italic; # }
} #
# .item-image-text {
.keybind-hints { # font-size: 28px;
/* base01 -> surface_container */ # }
background: @surface_container; #
padding: 10px; # .preview {
margin-top: 10px; # border: 1px solid alpha(@accent_bg_color, 0.25);
} # /* padding: 10px; */
# border-radius: 10px;
.preview { # color: @theme_fg_color;
} # }
''; #
}; # .calc .item-text {
# font-size: 24px;
# }
#
# .calc .item-subtext {
# }
#
# .symbols .item-image {
# font-size: 24px;
# }
#
# .todo.done .item-text-box {
# opacity: 0.25;
# }
#
# .todo.urgent {
# font-size: 24px;
# }
#
# .todo.active {
# font-weight: bold;
# }
#
# .bluetooth.disconnected {
# opacity: 0.5;
# }
#
# .preview .large-icons {
# -gtk-icon-size: 64px;
# }
#
# .keybinds {
# padding-top: 10px;
# border-top: 1px solid lighter(@window_bg_color);
# font-size: 12px;
# color: @theme_fg_color;
# }
#
# .global-keybinds {
# }
#
# .item-keybinds {
# }
#
# .keybind {
# }
#
# .keybind-button {
# opacity: 0.5;
# }
#
# .keybind-button:hover {
# opacity: 0.75;
# cursor: pointer;
# }
#
# .keybind-bind {
# text-transform: lowercase;
# opacity: 0.35;
# }
#
# .keybind-label {
# padding: 2px 4px;
# border-radius: 4px;
# border: 1px solid @theme_fg_color;
# }
#
# .error {
# padding: 10px;
# background: @error_bg_color;
# color: @error_fg_color;
# }
#
# :not(.calc).current {
# font-style: italic;
# }
#
# .preview-content.archlinuxpkgs {
# font-family: monospace;
# } '';
} }
+6 -1
View File
@@ -1,4 +1,8 @@
{pkgs, ...}: { {
pkgs,
inputs,
...
}: {
imports = [ imports = [
../modules/home/terminal.nix ../modules/home/terminal.nix
../modules/home/apps.nix ../modules/home/apps.nix
@@ -7,6 +11,7 @@
../modules/home/waybar.nix ../modules/home/waybar.nix
../modules/home/theme.nix ../modules/home/theme.nix
../modules/home/gaming.nix ../modules/home/gaming.nix
inputs.walker.homeManagerModules.default
]; ];
home.stateVersion = "25.05"; home.stateVersion = "25.05";