Updated CSD logic
This commit is contained in:
parent
c894f00eb0
commit
6364d8afa0
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue