From 464c038a5b998a5a44eb0257071ed10c0b5a7e78 Mon Sep 17 00:00:00 2001 From: Filippo Berto Date: Wed, 25 May 2022 10:10:20 +0200 Subject: [PATCH] Chrome dark mode --- home_manager/modules/webapp.nix | 2 +- home_manager/odin.nix | 2 +- home_manager/thor.nix | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/home_manager/modules/webapp.nix b/home_manager/modules/webapp.nix index d3a8814..b576563 100644 --- a/home_manager/modules/webapp.nix +++ b/home_manager/modules/webapp.nix @@ -1,7 +1,7 @@ { pkgs, lib, ... }: # Categories: https://specifications.freedesktop.org/menu-spec/latest/apa.html#main-category-registry let - cmd = link: "${pkgs.google-chrome}/bin/google-chrome-stable --app=${link}"; + cmd = link: "google-chrome-stable --app=${link}"; links = [ { desktopName = "Google Calendar"; link = "https://google.com/calendar"; categories = [ "Office" ]; } { desktopName = "Google Keep"; link = "https://keep.google.com"; categories = [ "Office" ]; } diff --git a/home_manager/odin.nix b/home_manager/odin.nix index 5419325..6b40d81 100644 --- a/home_manager/odin.nix +++ b/home_manager/odin.nix @@ -39,7 +39,7 @@ # gnome.quadrapassel # gnome.seahorse # gnome.sushi - (google-chrome.override { commandLineArgs = [ "--password-store=gnome" ]; }) + (google-chrome.override { commandLineArgs = [ "--password-store=gnome" "--force-dark-mode" ]; }) gucharmap handbrake htop diff --git a/home_manager/thor.nix b/home_manager/thor.nix index 035ee8b..ac98434 100644 --- a/home_manager/thor.nix +++ b/home_manager/thor.nix @@ -31,7 +31,7 @@ gnome.gnome-screenshot gnome.gnome-sound-recorder # gnome.gnome-system-monitor - (google-chrome.override { commandLineArgs = [ "--password-store=gnome" ]; }) + (google-chrome.override { commandLineArgs = [ "--password-store=gnome" "--force-dark-mode" ]; }) gucharmap handbrake httpie