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

@ -0,0 +1,69 @@
{pkgs, ...}: {
# Define GTK theme settings
gtk = {
enable = true;
font = let
fonts = import ../common/fonts.nix;
in {
name = "${fonts.main}";
size = 11;
};
theme = {
name = "Colloid-Dark";
package = pkgs.colloid-gtk-theme.override {
themeVariants = ["default"];
colorVariants = ["dark"];
sizeVariants = ["standard"];
tweaks = ["black" "rimless" "normal"];
};
};
iconTheme = {
package = pkgs.papirus-icon-theme.override {color = "indigo";};
name = "Papirus-Dark";
};
cursorTheme = {
package = pkgs.simp1e-cursors;
name = "Simp1e-Dark";
};
# GTK app bookmarks
gtk3 = {
bookmarks = [
# Local
"file:///home/jimbo/Downloads"
"file:///home/jimbo/Documents"
"file:///home/jimbo/Videos"
"file:///home/jimbo/Pictures/Screenshots"
"file:///home/jimbo/VMs"
# Remote
"file:///home/jimbo/JimboNFS/Downloads"
"file:///home/jimbo/JimboNFS/Documents"
"file:///home/jimbo/JimboNFS/Music"
"file:///home/jimbo/JimboNFS/Photos"
"file:///home/jimbo/JimboNFS/Videos"
"file:///home/jimbo/JimboNFS/Projects"
# More important stuff
"file:///home/jimbo/JimboNFS/School"
"file:///etc/nixos"
];
# Disable shadows
extraCss = ''
* { outline-width: 0px; }
decoration { box-shadow: none; }
'';
};
# Stop gtk4 from being rounded
gtk4.extraCss = ''
window {
border-top-left-radius:0;
border-top-right-radius:0;
border-bottom-left-radius:0;
border-bottom-right-radius:0;
}
'';
};
}

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";