mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 01:33:55 -05:00
theme: moved to qt6ct/kvantum theme to match gtk
This commit is contained in:
parent
2a8e17f9e0
commit
fe0c497bbc
|
@ -128,7 +128,7 @@
|
|||
screenshot_screen = "${screenshot} -m output -o ${screenshot_folder}";
|
||||
screenshot_region = "${screenshot} -m region -o ${screenshot_folder}";
|
||||
|
||||
qt_platform_theme = "gtk2";
|
||||
qt_platform_theme = "qt6ct";
|
||||
gdk_scale = "1.5";
|
||||
in ''
|
||||
$framework = desc:BOE 0x095F,preferred,auto,1.6 # lavaridge/fallarbor fw13 glossy display
|
||||
|
|
|
@ -127,7 +127,7 @@
|
|||
screenshot_screen = "${screenshot} --capture output";
|
||||
screenshot_region = "${screenshot} --capture region";
|
||||
|
||||
qt_platform_theme = "gtk2";
|
||||
qt_platform_theme = "qt6ct";
|
||||
gdk_scale = "1.5";
|
||||
|
||||
cycleSwayDisplayModes = pkgs.writeShellScriptBin "cycleSwayDisplayModes" ''
|
||||
|
|
|
@ -30,6 +30,21 @@
|
|||
type = lib.types.bool;
|
||||
};
|
||||
};
|
||||
qt = {
|
||||
name = lib.mkOption {
|
||||
description = "Qt Kvantum theme name.";
|
||||
default = "Catppuccin-Frappe-Mauve";
|
||||
type = lib.types.str;
|
||||
};
|
||||
package = lib.mkOption {
|
||||
description = "Qt Kvantum theme package.";
|
||||
default = pkgs.catppuccin-kvantum.override {
|
||||
accent = "Mauve";
|
||||
variant = "Frappe";
|
||||
};
|
||||
type = lib.types.package;
|
||||
};
|
||||
};
|
||||
iconTheme = {
|
||||
name = lib.mkOption {
|
||||
description = "Icon theme name.";
|
||||
|
@ -150,10 +165,15 @@
|
|||
size = config.alyraffauf.desktop.theme.cursorTheme.size;
|
||||
};
|
||||
|
||||
qt = {
|
||||
enable = true;
|
||||
platformTheme.name = "gtk";
|
||||
style.name = "gtk2";
|
||||
qt.enable = true;
|
||||
qt.platformTheme.name = "qtct";
|
||||
qt.style.name = "kvantum";
|
||||
|
||||
xdg.configFile = {
|
||||
"Kvantum/${config.alyraffauf.desktop.theme.qt.name}".source = "${config.alyraffauf.desktop.theme.qt.package}/share/Kvantum/${config.alyraffauf.desktop.theme.qt.name}";
|
||||
"Kvantum/kvantum.kvconfig".source = (pkgs.formats.ini {}).generate "kvantum.kvconfig" {
|
||||
General.theme = config.alyraffauf.desktop.theme.qt.name;
|
||||
};
|
||||
};
|
||||
|
||||
fonts.fontconfig = {
|
||||
|
|
Loading…
Reference in a new issue