Sway doesn't like user defined QT theming to system wide it is I guess

This commit is contained in:
Jimbo 2024-08-29 02:38:42 -04:00
parent 95e5895cae
commit d74444bd2f
16 changed files with 19 additions and 23 deletions

View file

@ -14,7 +14,7 @@
style = "beam";
};
colors = let
colors = import ../style/colors.nix;
colors = import ../common/colors.nix;
in {
alpha = "0.65";
background = "${colors.dark}";

View file

@ -1,6 +1,6 @@
{pkgs, config, ...}: let
# Import variables
colors = import ../style/colors.nix;
colors = import ../common/colors.nix;
fonts = import ../common/fonts.nix;
# FireFox colors

View file

@ -10,7 +10,7 @@
theme = let
inherit (config.lib.formats.rasi) mkLiteral;
border = import ../common/border.nix;
colors = import ../style/colors.nix;
colors = import ../common/colors.nix;
in {
"*" = {
lightbg = mkLiteral "#EEE8D5";

View file

@ -8,6 +8,7 @@
# GUI Apps
./misc/guifiles.nix
./sway/sway.nix
./guiapps/gtk.nix
./guiapps/foot.nix
./guiapps/librewolf.nix
./guiapps/mangohud.nix
@ -31,10 +32,6 @@
./misc/school.nix
./misc/variables.nix
# Theming
./style/gtk.nix
./style/qt.nix
# Services
./services/gnome-keyring.nix
./services/mako.nix

View file

@ -1,7 +1,7 @@
{pkgs, ...}: {
# Notification daemon
services.mako = let
colors = import ../style/colors.nix;
colors = import ../common/colors.nix;
border = import ../common/border.nix;
displays = import ../common/displays.nix;
fonts = import ../common/fonts.nix;

View file

@ -1,9 +0,0 @@
{
qt = {
enable = true;
style = {
name = "gtk2";
};
platformTheme.name = "gtk2";
};
}

View file

@ -2,7 +2,7 @@
wayland.windowManager.sway = {
config = let
border = import ../common/border.nix;
colors = import ../style/colors.nix;
colors = import ../common/colors.nix;
displays = import ../common/displays.nix;
nixcfg = import ../common/nixcfg.nix;
ws = import ./workspaces.nix;

View file

@ -1,6 +1,6 @@
{config, pkgs, ...}: let
swayLock = let
colors = import ../style/colors.nix;
colors = import ../common/colors.nix;
fonts = import ../common/fonts.nix;
in pkgs.writeScriptBin "swaylock" ''
# Set the lock script

View file

@ -3,7 +3,7 @@
# Use grim and slurp to take screenshots in multiple ways
swayShot = let
border = import ../common/border.nix;
colors = import ../style/colors.nix;
colors = import ../common/colors.nix;
in pkgs.writeScriptBin "swayshot" ''
# Swappy
handle_swappy() {

View file

@ -6,7 +6,7 @@
wrapperFeatures.gtk = true;
checkConfig = false;
config = let
colors = import ../style/colors.nix;
colors = import ../common/colors.nix;
fonts = import ../common/fonts.nix;
in {
# Theming settings

View file

@ -1,6 +1,6 @@
{pkgs, ...}: {
programs.waybar = let
colors = import ../style/colors.nix;
colors = import ../common/colors.nix;
displays = import ../common/displays.nix;
fonts = import ../common/fonts.nix;

View file

@ -30,7 +30,7 @@
];
extraConfig = let
# Import colors
colors = import ../style/colors.nix;
colors = import ../common/colors.nix;
in ''
lua <<EOF
-- Set up nvim-cmp

View file

@ -16,6 +16,7 @@
./desktop/bluetooth.nix
./desktop/firewall.nix
./desktop/fonts.nix
./desktop/qt.nix
# Modules
./modules/security.nix

7
nixos/desktop/qt.nix Normal file
View file

@ -0,0 +1,7 @@
{
qt = {
enable = true;
style = "gtk2";
platformTheme = "gtk2";
};
}