Updated CSD logic

This commit is contained in:
Jan-Bulthuis 2025-04-16 13:06:16 +02:00
parent c894f00eb0
commit 6364d8afa0
1 changed files with 19 additions and 11 deletions

View File

@ -273,16 +273,18 @@ in
# Configure gtk theme # Configure gtk theme
gtk = gtk =
# disableCSD = '' let
# headerbar.default-decoration { disableCSD = ''
# margin-bottom: 50px; headerbar.default-decoration {
# margin-top: -100px; margin-bottom: 50px;
# } margin-top: -100px;
# window.csd, }
# window.csd decoration { window.csd,
# box-shadow: none; window.csd decoration {
# } box-shadow: none;
# ''; }
'';
in
{ {
enable = true; enable = true;
@ -291,6 +293,9 @@ in
package = pkgs.gnome-themes-extra; package = pkgs.gnome-themes-extra;
}; };
# TODO: Toggles
gtk3.extraCss = disableCSD;
gtk4.extraCss = disableCSD;
}; };
# TODO: This should just straight up not be here # TODO: This should just straight up not be here
@ -324,7 +329,10 @@ in
foot.enable = true; foot.enable = true;
nixvim.enable = true; nixvim.enable = true;
qutebrowser.enable = true; qutebrowser.enable = true;
vscode.enable = true; vscode = {
enable = true;
profileNames = [ "NixOS" ];
};
zathura.enable = true; zathura.enable = true;
}; };