diff --git a/home-manager/hyprland.nix b/home-manager/hyprland.nix index dbaec90..fce12e7 100644 --- a/home-manager/hyprland.nix +++ b/home-manager/hyprland.nix @@ -291,12 +291,116 @@ }; }; }; - # style = config.stylix.waybar.css; # Stylix will manage this + style = '' + @define-color rosewater #f5e0dc; + @define-color flamingo #f2cdcd; + @define-color pink #f5c2e7; + @define-color mauve #cba6f7; + @define-color red #f38ba8; + @define-color maroon #eba0ac; + @define-color peach #fab387; + @define-color yellow #f9e2af; + @define-color green #a6e3a1; + @define-color teal #94e2d5; + @define-color sky #89dceb; + @define-color sapphire #74c7ec; + @define-color blue #89b4fa; + @define-color lavender #b4befe; + + @define-color text #cdd6f4; + @define-color subtext1 #bac2de; + @define-color subtext0 #a6adc8; + @define-color overlay2 #9399b2; + @define-color overlay1 #7f849c; + @define-color overlay0 #6c7086; + @define-color surface2 #585b70; + @define-color surface1 #45475a; + @define-color surface0 #313244; + @define-color base #1e1e2e; + @define-color mantle #181825; + @define-color crust #11111b; + + * { + font-family: "JetBrainsMono Nerd Font", FontAwesome, Roboto, Helvetica, Arial, sans-serif; + font-size: 13px; + } + + window#waybar { + background-color: rgba(17, 17, 27, 0.5); + color: @text; + } + + #workspaces button { + padding: 0 5px; + background-color: transparent; + color: @overlay1; + border-radius: 0; + } + + #workspaces button.active { + color: @lavender; + border-bottom: 2px solid @lavender; + } + + #workspaces button:hover { + background-color: @surface0; + } + + #clock, #battery, #cpu, #memory, #network, #pulseaudio, #tray, #window { + padding: 0 10px; + margin: 3px 4px; + border-radius: 8px; + background-color: @mantle; + } + + #clock { + background-color: @crust; + color: @text; + } + + #battery { + background-color: @crust; + color: @text; + } + + #battery.charging, #battery.plugged { + background-color: @green; + } + + #cpu { + background-color: @crust; + color: @text; + } + + #memory { + background-color: @crust; + color: @text; + } + + #network { + background-color: @crust; + color: @text; + } + + #pulseaudio { + background-color: @crust; + color: @text; + } + + #pulseaudio.muted { + background-color: @surface1; + } + + #custom-wttrbar { + background-color: @crust; + color: @text; + } + ''; }; programs.rofi = { enable = true; - # theme = config.stylix.rofi.theme; # Stylix will manage this + theme = "arthur"; extraConfig = { modi = "drun,run,ssh,window"; show-icons = true; @@ -325,7 +429,7 @@ padding = 8; horizontal_padding = 8; frame_width = 2; - # frame_color = config.stylix.colors.base0C; # Stylix will manage this + frame_color = "#cba6f7"; separator_color = "frame"; word_wrap = true; ellipsize = "middle"; @@ -354,18 +458,18 @@ hide_duplicate_count = false; show_indicators = true; }; - # urgency_low = { # Stylix will manage this - # background = config.stylix.colors.base00; - # foreground = config.stylix.colors.base05; - # }; - # urgency_normal = { # Stylix will manage this - # background = config.stylix.colors.base00; - # foreground = config.stylix.colors.base05; - # }; - # urgency_critical = { # Stylix will manage this - # background = config.stylix.colors.base08; - # foreground = config.stylix.colors.base00; - # }; + urgency_low = { + background = "#1e1e2e"; + foreground = "#cdd6f4"; + }; + urgency_normal = { + background = "#1e1e2e"; + foreground = "#cdd6f4"; + }; + urgency_critical = { + background = "#f38ba8"; + foreground = "#1e1e2e"; + }; }; }; diff --git a/home-manager/theme.nix b/home-manager/theme.nix index a2abb2d..e81b454 100644 --- a/home-manager/theme.nix +++ b/home-manager/theme.nix @@ -49,13 +49,6 @@ }; }; - stylix.fontSizes = { - applications = 12; - desktop = 12; - terminal = 12; - waybar = 12; - }; - stylix.targets = { hyprland.enable = true; waybar.enable = true;