From e1e04f2a488fb894f4501efe363c72dad45eed5b Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Sun, 22 Dec 2024 15:04:11 -0600 Subject: [PATCH] chromeos: style gui window title bars --- home/lib/chromeos.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/home/lib/chromeos.nix b/home/lib/chromeos.nix index f55c307..5ea4f8a 100644 --- a/home/lib/chromeos.nix +++ b/home/lib/chromeos.nix @@ -3,12 +3,19 @@ xdg.enable = true; xdg.mime.enable = true; + # make linux gui apps appear in chromeos launcher xdg.configFile."systemd/user/cros-garcon.service.d/override.conf".text = '' [Service] Environment="PATH=%h/.nix-profile/bin:/usr/local/sbin:/usr/local/bin:/usr/local/games:/usr/sbin:/usr/bin:/usr/games:/sbin:/bin" Environment="XDG_DATA_DIRS=/nix/var/nix/profiles/default/share:%h/.nix-profile/share:%h/.local/share:/usr/local/share:/usr/share:/var/lib/snapd/desktop:%h/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share" ''; + # make linux gui title bars not quite so bright + xdg.configFile."systemd/user/sommelier-x@0.service.d/override.conf".text = '' + [Service] + Environment="SOMMELIER_FRAME_COLOR=#313244" + ''; + # activate NixGL wrapper for Crostini nixGL.packages = inputs.nixgl.packages; nixGL.defaultWrapper = "mesa";