mirror of
https://github.com/librephoenix/nixos-config
synced 2025-01-19 07:05:51 +05:30
Applied stylix to qt apps
This commit is contained in:
parent
9db01c0df6
commit
cfb1187e76
119
user/style/Trolltech.conf.mustache
Normal file
119
user/style/Trolltech.conf.mustache
Normal file
|
@ -0,0 +1,119 @@
|
|||
[ColorEffects:Disabled]
|
||||
Color=56,56,56
|
||||
ColorAmount=0
|
||||
ColorEffect=0
|
||||
ContrastAmount=0.65
|
||||
ContrastEffect=1
|
||||
IntensityAmount=0.1
|
||||
IntensityEffect=2
|
||||
|
||||
[ColorEffects:Inactive]
|
||||
ChangeSelectionColor=true
|
||||
Color=112,111,110
|
||||
ColorAmount=0.025
|
||||
ColorEffect=2
|
||||
ContrastAmount=0.1
|
||||
ContrastEffect=2
|
||||
Enable=false
|
||||
IntensityAmount=0
|
||||
IntensityEffect=0
|
||||
|
||||
[Colors:Button]
|
||||
BackgroundNormal={{base00-rgb-r}},{{base00-rgb-g}},{{base00-rgb-b}}
|
||||
ForegroundNormal={{base01-rgb-r}},{{base01-rgb-g}},{{base01-rgb-b}}
|
||||
BackgroundAlternate={{base00-rgb-r}},{{base00-rgb-g}},{{base00-rgb-b}}
|
||||
DecorationFocus={{base00-rgb-r}},{{base00-rgb-g}},{{base00-rgb-b}}
|
||||
DecorationHover={{base00-rgb-r}},{{base00-rgb-g}},{{base00-rgb-b}}
|
||||
ForegroundActive={{base00-rgb-r}},{{base00-rgb-g}},{{base00-rgb-b}}
|
||||
ForegroundInactive=127,140,141
|
||||
ForegroundLink={{base03-rgb-r}},{{base03-rgb-g}},{{base03-rgb-b}}
|
||||
ForegroundNegative={{base00-rgb-r}},{{base00-rgb-g}},{{base00-rgb-b}}
|
||||
ForegroundNeutral={{base02-rgb-r}},{{base02-rgb-g}},{{base02-rgb-b}}
|
||||
ForegroundPositive={{base01-rgb-r}},{{base01-rgb-g}},{{base01-rgb-b}}
|
||||
ForegroundVisited=127,140,141
|
||||
|
||||
[Colors:Complementary]
|
||||
BackgroundAlternate=59,64,69
|
||||
BackgroundNormal=49,54,59
|
||||
DecorationFocus={{base00-rgb-r}},{{base00-rgb-g}},{{base00-rgb-b}}
|
||||
DecorationHover={{base00-rgb-r}},{{base00-rgb-g}},{{base00-rgb-b}}
|
||||
ForegroundActive={{base00-rgb-r}},{{base00-rgb-g}},{{base00-rgb-b}}
|
||||
ForegroundInactive=175,176,179
|
||||
ForegroundLink={{base03-rgb-r}},{{base03-rgb-g}},{{base03-rgb-b}}
|
||||
ForegroundNegative={{base00-rgb-r}},{{base00-rgb-g}},{{base00-rgb-b}}
|
||||
ForegroundNeutral={{base02-rgb-r}},{{base02-rgb-g}},{{base02-rgb-b}}
|
||||
ForegroundNormal=239,240,241
|
||||
ForegroundPositive={{base01-rgb-r}},{{base01-rgb-g}},{{base01-rgb-b}}
|
||||
ForegroundVisited=61,174,230
|
||||
|
||||
[Colors:Selection]
|
||||
BackgroundNormal={{base00-rgb-r}},{{base00-rgb-g}},{{base00-rgb-b}}
|
||||
ForegroundNormal={{base01-rgb-r}},{{base01-rgb-g}},{{base01-rgb-b}}
|
||||
BackgroundAlternate=255,0,0
|
||||
DecorationFocus=0,255,0
|
||||
DecorationHover=0,0,255
|
||||
ForegroundActive=252,0,0
|
||||
ForegroundInactive=0,240,0
|
||||
ForegroundLink={{base03-rgb-r}},{{base03-rgb-g}},{{base03-rgb-b}}
|
||||
ForegroundNegative={{base00-rgb-r}},{{base00-rgb-g}},{{base00-rgb-b}}
|
||||
ForegroundNeutral={{base02-rgb-r}},{{base02-rgb-g}},{{base02-rgb-b}}
|
||||
ForegroundPositive={{base01-rgb-r}},{{base01-rgb-g}},{{base01-rgb-b}}
|
||||
ForegroundVisited=189,195,0
|
||||
|
||||
[Colors:Tooltip]
|
||||
BackgroundAlternate={{themix_BG-rgb-r}},{{themix_BG-rgb-g}},{{themix_BG-rgb-b}}
|
||||
BackgroundNormal={{base00-rgb-r}},{{base00-rgb-g}},{{base00-rgb-b}}
|
||||
DecorationFocus={{base00-rgb-r}},{{base00-rgb-g}},{{base00-rgb-b}}
|
||||
DecorationHover={{base00-rgb-r}},{{base00-rgb-g}},{{base00-rgb-b}}
|
||||
ForegroundActive={{base00-rgb-r}},{{base00-rgb-g}},{{base00-rgb-b}}
|
||||
ForegroundInactive=189,195,199
|
||||
ForegroundLink={{base03-rgb-r}},{{base03-rgb-g}},{{base03-rgb-b}}
|
||||
ForegroundNegative={{base00-rgb-r}},{{base00-rgb-g}},{{base00-rgb-b}}
|
||||
ForegroundNeutral={{base02-rgb-r}},{{base02-rgb-g}},{{base02-rgb-b}}
|
||||
BackgroundNormal={{base01-rgb-r}},{{base01-rgb-g}},{{base01-rgb-b}}
|
||||
ForegroundPositive={{base01-rgb-r}},{{base01-rgb-g}},{{base01-rgb-b}}
|
||||
ForegroundVisited=127,140,141
|
||||
|
||||
[Colors:View]
|
||||
BackgroundAlternate={{themix_BG-rgb-r}},{{themix_BG-rgb-g}},{{themix_BG-rgb-b}}
|
||||
BackgroundNormal={{base00-rgb-r}},{{base00-rgb-g}},{{base00-rgb-b}}
|
||||
DecorationFocus={{base00-rgb-r}},{{base00-rgb-g}},{{base00-rgb-b}}
|
||||
DecorationHover={{base00-rgb-r}},{{base00-rgb-g}},{{base00-rgb-b}}
|
||||
ForegroundActive={{base00-rgb-r}},{{base00-rgb-g}},{{base00-rgb-b}}
|
||||
ForegroundInactive=127,140,141
|
||||
ForegroundLink={{base03-rgb-r}},{{base03-rgb-g}},{{base03-rgb-b}}
|
||||
ForegroundNegative={{base00-rgb-r}},{{base00-rgb-g}},{{base00-rgb-b}}
|
||||
ForegroundNeutral={{base02-rgb-r}},{{base02-rgb-g}},{{base02-rgb-b}}
|
||||
ForegroundNormal={{base01-rgb-r}},{{base01-rgb-g}},{{base01-rgb-b}}
|
||||
ForegroundPositive={{base01-rgb-r}},{{base01-rgb-g}},{{base01-rgb-b}}
|
||||
ForegroundVisited=127,140,141
|
||||
|
||||
[Colors:Window]
|
||||
BackgroundAlternate={{base00-rgb-r}},{{base00-rgb-g}},{{base00-rgb-b}}
|
||||
BackgroundNormal={{themix_BG-rgb-r}},{{themix_BG-rgb-g}},{{themix_BG-rgb-b}}
|
||||
DecorationFocus={{base00-rgb-r}},{{base00-rgb-g}},{{base00-rgb-b}}
|
||||
DecorationHover={{base00-rgb-r}},{{base00-rgb-g}},{{base00-rgb-b}}
|
||||
ForegroundActive={{base00-rgb-r}},{{base00-rgb-g}},{{base00-rgb-b}}
|
||||
ForegroundInactive=127,140,141
|
||||
ForegroundLink={{base03-rgb-r}},{{base03-rgb-g}},{{base03-rgb-b}}
|
||||
ForegroundNegative={{base00-rgb-r}},{{base00-rgb-g}},{{base00-rgb-b}}
|
||||
ForegroundNeutral={{base02-rgb-r}},{{base02-rgb-g}},{{base02-rgb-b}}
|
||||
ForegroundNormal={{themix_FG-rgb-r}},{{themix_FG-rgb-g}},{{themix_FG-rgb-b}}
|
||||
ForegroundPositive={{base01-rgb-r}},{{base01-rgb-g}},{{base01-rgb-b}}
|
||||
ForegroundVisited=127,140,141
|
||||
|
||||
[General]
|
||||
ColorScheme=Breeze
|
||||
Name={{scheme-name}}
|
||||
shadeSortColumn=true
|
||||
|
||||
[KDE]
|
||||
contrast=4
|
||||
|
||||
[WM]
|
||||
activeBlend={{base01-rgb-r}},{{base01-rgb-g}},{{base01-rgb-b}}
|
||||
activeBackground={{base00-rgb-r}},{{base00-rgb-g}},{{base00-rgb-b}}
|
||||
activeForeground={{base01-rgb-r}},{{base01-rgb-g}},{{base01-rgb-b}}
|
||||
inactiveBlend={{base00-rgb-r}},{{base00-rgb-g}},{{base00-rgb-b}}
|
||||
inactiveBackground={{base00-rgb-r}},{{base00-rgb-g}},{{base00-rgb-b}}
|
||||
inactiveForeground={{base01-rgb-r}},{{base01-rgb-g}},{{base01-rgb-b}}
|
10
user/style/oomox-current.conf.mustache
Normal file
10
user/style/oomox-current.conf.mustache
Normal file
|
@ -0,0 +1,10 @@
|
|||
# FG BTN_BG bright less brdark less da txt fg br text btn fg txt bg bg shadow sel bg sel fg link visited alt bg default tooltip bg tooltip_fg
|
||||
[ColorScheme]
|
||||
active_colors=#{{base0F-hex}}, #{{base00-hex}}, #{{base00-hex}}, #{{base00-hex}}, #{{base00-hex}}, #{{base00-hex}}, #{{base0F-hex}}, #{{base0F-hex}}, #{{base0F-hex}}, #{{base00-hex}}, #{{base00-hex}}, #{{base00-hex}}, #{{base01-hex}}, #{{base00-hex}}, #{{base01-hex}}, #{{base0F-hex}}, #{{base00-hex}}, #{{base0F-hex}}, 181b24, #{{base0F-hex}}
|
||||
disabled_colors=#767081, #{{base00-hex}}, #{{base00-hex}}, #{{base00-hex}}, #{{base00-hex}}, #{{base00-hex}}, #767081, #767081, #767081, #{{base00-hex}}, #{{base00-hex}}, #{{base00-hex}}, #{{base01-hex}}, #{{base00-hex}}, #{{base01-hex}}, #767081, #{{base00-hex}}, #767081, #{{base00-hex}}, #767081
|
||||
inactive_colors=#{{base0F-hex}}, #{{base00-hex}}, #{{base00-hex}}, #{{base00-hex}}, #{{base00-hex}}, #{{base00-hex}}, #{{base0F-hex}}, #{{base0F-hex}}, #{{base0F-hex}}, #{{base00-hex}}, #{{base00-hex}}, #{{base00-hex}}, #{{base01-hex}}, #{{base00-hex}}, #{{base01-hex}}, #{{base0F-hex}}, #{{base00-hex}}, #{{base0F-hex}}, #{{base00-hex}}, #{{base0F-hex}}
|
||||
|
||||
# FG BTN_BG bright less br dark less da txt fg br text btn fg txt bg bg shadow sel bg sel fg link visite alt bg default tooltip bg tooltip_fg
|
||||
# active_colors=#{{base0F-hex}}, #{{base02-hex}}, #{{base00-hex}}, #cbc7c4, #9f9d9a, #b8b5b2, #{{base0F-hex}}, #ff0000, #{{base0F-hex}}, #{{base00-hex}}, #{{base00-hex}}, #767472, #{{base01-hex}}, #{{base00-hex}}, #{{base01-hex}}, #{{base0F-hex}}, #{{base00-hex}}, #{{base0F-hex}}, 181b24, #{{base0F-hex}}
|
||||
#disabled_colors=#767081, #{{base02-hex}}, #{{base00-hex}}, #cbc7c4, #9f9d9a, #b8b5b2, #767081, #ffec17, #{{base0F-hex}}, #{{base00-hex}}, #{{base00-hex}}, #767472, #{{base01-hex}}, #{{base00-hex}}, #{{base01-hex}}, #767081, #{{base00-hex}}, #767081, #{{base00-hex}}, #767081
|
||||
#inactive_colors=#{{base0F-hex}}, #{{base02-hex}}, #{{base00-hex}}, #cbc7c4, #9f9d9a, #b8b5b2, #{{base0F-hex}}, #ff9040, #{{base0F-hex}}, #{{base00-hex}}, #{{base00-hex}}, #767472, #{{base01-hex}}, #{{base00-hex}}, #{{base01-hex}}, #{{base0F-hex}}, #{{base00-hex}}, #{{base0F-hex}}, #{{base00-hex}}, #{{base0F-hex}}
|
35
user/style/qt5ct.conf
Normal file
35
user/style/qt5ct.conf
Normal file
|
@ -0,0 +1,35 @@
|
|||
[Appearance]
|
||||
color_scheme_path=~/.config/qt5ct/colors/oomox-current.conf
|
||||
custom_palette=true
|
||||
icon_theme=oomox-current
|
||||
standard_dialogs=kde
|
||||
style=Breeze
|
||||
|
||||
#[Fonts]
|
||||
#fixed="Noto Sans,10,-1,0,50,0,0,0,0,0"
|
||||
#general="Noto Sans,10,-1,0,50,0,0,0,0,0"
|
||||
|
||||
[Interface]
|
||||
activate_item_on_single_click=1
|
||||
buttonbox_layout=2
|
||||
cursor_flash_time=1000
|
||||
dialog_buttons_have_icons=1
|
||||
double_click_interval=400
|
||||
gui_effects=@Invalid()
|
||||
keyboard_scheme=2
|
||||
menus_have_icons=true
|
||||
show_shortcuts_in_context_menus=true
|
||||
stylesheets=@Invalid()
|
||||
toolbutton_style=4
|
||||
underline_shortcut=1
|
||||
wheel_scroll_lines=3
|
||||
|
||||
#[PaletteEditor]
|
||||
#geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\x1t\0\0\x1\x83\0\0\x4\x7f\0\0\x4\x9c\0\0\x1t\0\0\x1\x83\0\0\x3\xea\0\0\x3\x93\0\0\0\0\x2\0\0\0\n\0\0\0\x1t\0\0\x1\x83\0\0\x4\x7f\0\0\x4\x9c)
|
||||
|
||||
#[SettingsWindow]
|
||||
#geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\0\0\0\x6\x9a\0\0\x5\x65\0\0\0\0\0\0\0\0\0\0\x2\xde\0\0\x2\xbb\0\0\0\0\x2\0\0\0\n\0\0\0\0\0\0\0\0\0\0\0\x6\x9a\0\0\x5\x65)
|
||||
|
||||
[Troubleshooting]
|
||||
force_raster_widgets=1
|
||||
ignored_applications=@Invalid()
|
|
@ -56,4 +56,30 @@ in
|
|||
}+'';
|
||||
'';
|
||||
home.file.".fehbg-stylix".executable = true;
|
||||
home.file = {
|
||||
".config/qt5ct/colors/oomox-current.conf".source = config.lib.stylix.colors {
|
||||
template = builtins.readFile ./oomox-current.conf.mustache;
|
||||
extension = ".conf";
|
||||
};
|
||||
".config/Trolltech.conf".source = config.lib.stylix.colors {
|
||||
template = builtins.readFile ./Trolltech.conf.mustache;
|
||||
extension = ".conf";
|
||||
};
|
||||
".config/kdeglobals".source = config.lib.stylix.colors {
|
||||
template = builtins.readFile ./Trolltech.conf.mustache;
|
||||
extension = "";
|
||||
};
|
||||
".config/qt5ct/qt5ct.conf".text = pkgs.lib.mkBefore (builtins.readFile ./qt5ct.conf);
|
||||
};
|
||||
home.packages = with pkgs; [
|
||||
qt5ct pkgs.libsForQt5.breeze-qt5
|
||||
];
|
||||
home.sessionVariables = {
|
||||
QT_QPA_PLATFORMTHEME="qt5ct";
|
||||
};
|
||||
qt = {
|
||||
enable = true;
|
||||
style.package = pkgs.libsForQt5.breeze-qt5;
|
||||
style.name = "breeze-dark";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue