nixos-config/config/programs/theming.nix

83 lines
1.4 KiB
Nix

{pkgs, ...}: let
theme = import ../../extra/theme.nix;
in {
gtk = {
enable = true;
cursorTheme = {
package = null;
name = "breeze_cursors";
size = 24;
};
font = {
package = null;
name = "Noto Sans";
size = 10;
};
iconTheme = {
package = null;
name = "breeze-dark";
};
theme = {
package = null;
name = "Breeze-Dark";
};
};
qt.enable = true;
qt.style.package = pkgs.libsForQt5.breeze-qt5;
qt.style.name = "BreezeDark";
programs.waybar.style = with theme; ''
* {
border: none;
border-radius: 0;
font-family: "NotoSansDisplay Nerd Font", "Noto Sans Mono CJK JP";
}
window.HDMI-A-1 * {
font-size: 12px;
}
window#waybar {
background: ${cssColor bg};
}
#mpd, #cpu {
background: ${cssColor green};
color: ${cssColor bg};
}
#pulseaudio {
background: ${cssColor yellow};
color: ${cssColor bg};
}
#network, #tray {
background: ${cssColor blue};
color: ${cssColor bg};
}
#memory, #workspaces button.focused {
background: ${cssColor magenta};
}
#language {
background: ${cssColor cyan};
}
#clock {
background: ${cssColor light-grey};
}
.urgent {
background: ${cssColor red};
}
#workspaces button {
background: transparent;
}
label {
color: #fff;
}
'';
}