fix gtk+ maybe
Some checks failed
Hydra nixosConfigurations.not522-installer Hydra build #26662 of nixos-config:pr618:nixosConfigurations.not522-installer
Hydra nixosConfigurations.not522 Hydra build #26661 of nixos-config:pr618:nixosConfigurations.not522
Hydra nixosConfigurations.oracle-installer Hydra build #26663 of nixos-config:pr618:nixosConfigurations.oracle-installer
Hydra nixosConfigurations.rainbow-resort Hydra build #26665 of nixos-config:pr618:nixosConfigurations.rainbow-resort
Hydra nixosConfigurations.thinkrac Hydra build #26666 of nixos-config:pr618:nixosConfigurations.thinkrac
Hydra nixosConfigurations.pc-installer Hydra build #26664 of nixos-config:pr618:nixosConfigurations.pc-installer

This commit is contained in:
Charlotte 🦝 Delenk 2024-11-19 20:48:43 +01:00
parent 914a49c0cc
commit 60255d49f3
4 changed files with 46 additions and 1 deletions

View file

@ -0,0 +1,7 @@
{ ... }:
{
gtk.enable = true;
imports = [
./gtk3.nix
];
}

View file

@ -0,0 +1,37 @@
{ ... }:
{
gtk.gtk3 = {
extraConfig = {
gtk-decoration-layout = "menu:close";
};
extraCss = ''
.window-frame, .window-frame:backdrop {
box-shadow: 0 0 0 black;
border-style: none;
margin: 0;
border-radius: 0;
}
.titlebar {
border-radius: 0;
}
.window-frame.csd.popup {
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.13);
}
.header-bar {
background-image: none;
background-color: #ededed;
box-shadow: none;
}
GtkLabel.title {
opacity: 0;
}
'';
};
home.sessionVariables = {
GTK_USE_PORTAL = 1;
GDK_DEBUG = "portals"; # sigh…
};
}

View file

@ -6,6 +6,7 @@
plasma-manager.homeManagerModules.plasma-manager plasma-manager.homeManagerModules.plasma-manager
./theming.nix ./theming.nix
./krdp.nix ./krdp.nix
./gtk-fixes
]; ];
programs.plasma.kwin.virtualDesktops = { programs.plasma.kwin.virtualDesktops = {
rows = 3; rows = 3;

View file

@ -40,7 +40,7 @@ with lib;
}; };
}; };
config.nix.auto-update.enable = mkDefault config.nix.enable; #config.nix.auto-update.enable = mkDefault config.nix.enable;
config.nix.auto-update.reboot = mkDefault true; config.nix.auto-update.reboot = mkDefault true;
config.systemd.services.nixos-upgrade = mkIf config.nix.enable { config.systemd.services.nixos-upgrade = mkIf config.nix.enable {
description = "NixOS Upgrade"; description = "NixOS Upgrade";