mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 13:03:56 -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_screen = "${screenshot} -m output -o ${screenshot_folder}";
|
||||||
screenshot_region = "${screenshot} -m region -o ${screenshot_folder}";
|
screenshot_region = "${screenshot} -m region -o ${screenshot_folder}";
|
||||||
|
|
||||||
qt_platform_theme = "gtk2";
|
qt_platform_theme = "qt6ct";
|
||||||
gdk_scale = "1.5";
|
gdk_scale = "1.5";
|
||||||
in ''
|
in ''
|
||||||
$framework = desc:BOE 0x095F,preferred,auto,1.6 # lavaridge/fallarbor fw13 glossy display
|
$framework = desc:BOE 0x095F,preferred,auto,1.6 # lavaridge/fallarbor fw13 glossy display
|
||||||
|
|
|
@ -127,7 +127,7 @@
|
||||||
screenshot_screen = "${screenshot} --capture output";
|
screenshot_screen = "${screenshot} --capture output";
|
||||||
screenshot_region = "${screenshot} --capture region";
|
screenshot_region = "${screenshot} --capture region";
|
||||||
|
|
||||||
qt_platform_theme = "gtk2";
|
qt_platform_theme = "qt6ct";
|
||||||
gdk_scale = "1.5";
|
gdk_scale = "1.5";
|
||||||
|
|
||||||
cycleSwayDisplayModes = pkgs.writeShellScriptBin "cycleSwayDisplayModes" ''
|
cycleSwayDisplayModes = pkgs.writeShellScriptBin "cycleSwayDisplayModes" ''
|
||||||
|
|
|
@ -30,6 +30,21 @@
|
||||||
type = lib.types.bool;
|
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 = {
|
iconTheme = {
|
||||||
name = lib.mkOption {
|
name = lib.mkOption {
|
||||||
description = "Icon theme name.";
|
description = "Icon theme name.";
|
||||||
|
@ -150,10 +165,15 @@
|
||||||
size = config.alyraffauf.desktop.theme.cursorTheme.size;
|
size = config.alyraffauf.desktop.theme.cursorTheme.size;
|
||||||
};
|
};
|
||||||
|
|
||||||
qt = {
|
qt.enable = true;
|
||||||
enable = true;
|
qt.platformTheme.name = "qtct";
|
||||||
platformTheme.name = "gtk";
|
qt.style.name = "kvantum";
|
||||||
style.name = "gtk2";
|
|
||||||
|
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 = {
|
fonts.fontconfig = {
|
||||||
|
|
Loading…
Reference in a new issue