From 3803a1e1b948a155d1a69358845db0ffdab042fb Mon Sep 17 00:00:00 2001 From: Fabian Montero Date: Sun, 5 Jan 2025 01:45:40 -0600 Subject: [PATCH] add dark theme to everything --- home/modules/gui/default.nix | 19 +++++++++++++++++++ home/modules/gui/i3.nix | 6 ++++-- sys/modules/users.nix | 2 +- 3 files changed, 24 insertions(+), 3 deletions(-) diff --git a/home/modules/gui/default.nix b/home/modules/gui/default.nix index 9dcf14c..1df22bd 100644 --- a/home/modules/gui/default.nix +++ b/home/modules/gui/default.nix @@ -112,5 +112,24 @@ in { polybar.enable = true; picom.enable = true; }; + + gtk = { + iconTheme = { + name = "Papirus-Dark"; + package = pkgs.papirus-icon-theme; + }; + gtk3.extraConfig = { + gtk-application-prefer-dark-theme = 1; + }; + gtk4.extraConfig = { + gtk-application-prefer-dark-theme = 1; + }; + }; + + qt = { + enable = true; + style.name = "bb10dark"; + platformTheme.name = "gtk3"; + }; }; } diff --git a/home/modules/gui/i3.nix b/home/modules/gui/i3.nix index 50f19d1..527f462 100644 --- a/home/modules/gui/i3.nix +++ b/home/modules/gui/i3.nix @@ -68,10 +68,12 @@ with lib; { notification = false; always = true; } - { #todo: move this to browsers module + { + #todo: move this to browsers module command = "${pkgs.i3-gaps}/bin/i3-msg 'workspace 1; exec ${pkgs.firefox}/bin/firefox'"; } - { #todo: move this to telegram module + { + #todo: move this to telegram module command = "${pkgs.i3-gaps}/bin/i3-msg 'workspace 2; exec ${pkgs.tdesktop}/bin/telegram-desktop'"; } #{ diff --git a/sys/modules/users.nix b/sys/modules/users.nix index 4711909..9925e76 100644 --- a/sys/modules/users.nix +++ b/sys/modules/users.nix @@ -66,7 +66,7 @@ in { shell = pkgs.zsh; extraGroups = ["users" "networkmanager"] - ++ optionals (v.admin) ["wheel" "libvirtd" "dialout" "adbusers" ]; + ++ optionals (v.admin) ["wheel" "libvirtd" "dialout" "adbusers"]; openssh.authorizedKeys.keyFiles = v.sshKeyPublicFile; }) enabledUsers;