From 493021ddb582707761ff4c4e0ba4765b4ae9fe64 Mon Sep 17 00:00:00 2001 From: Drew Haven Date: Sun, 2 Mar 2025 11:05:50 -0800 Subject: [PATCH] [eww] More attempts to get Eww to work properly --- home-manager/apps/eww/config/eww.scss | 4 ++-- home-manager/features/hyprland.nix | 14 +++++++++----- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/home-manager/apps/eww/config/eww.scss b/home-manager/apps/eww/config/eww.scss index 6cf692b..9b59673 100644 --- a/home-manager/apps/eww/config/eww.scss +++ b/home-manager/apps/eww/config/eww.scss @@ -1,12 +1,12 @@ @use 'tokyonight-night.scss' as colors; -$color-primary: colors.$blue-bright; +$color-primary: colors.$blue; $color-standout: colors.$green; $color-danger: colors.$red; $color-foreground: colors.$foreground; $color-background: colors.$background; -$color-primary-dark: colors.$blue; +$color-primary-dark: darker(colors.$blue); $color-background-light: colors.$black; $color-border: darker($color-background); $color-foreground-dark: darker($color-foreground); diff --git a/home-manager/features/hyprland.nix b/home-manager/features/hyprland.nix index 2103527..3431f8c 100644 --- a/home-manager/features/hyprland.nix +++ b/home-manager/features/hyprland.nix @@ -23,15 +23,19 @@ "$browser" = "firefox"; exec-once = [ - "nm-applet &" - "sleep 1 && eww open-many primary-statusbar secondary-statusbar launcher &" - "sleep 1 && hyprpaper &" + "nm-applet" + "sleep 1 && hyprpaper" "sleep 2 && hyprpm reload -n" - "swayidle -w before-sleep hyprlock &" - "swayosd-server &" + "swayidle -w before-sleep hyprlock" + "swayosd-server" "systemctl --user start hyprpolkitagent" ]; + # Eww is idempotent, so it's fine to just run it on every reload to make sure things are open + execr = [ + "eww open-many primary-statusbar secondary-statusbar launcher &" + ]; + env = [ "XCURSOR_SIZE,24" "HYPRCURSOR_SIZE,24"