From b77f69125dc370bb15fcaf651d403a628975125d Mon Sep 17 00:00:00 2001 From: Emmet Date: Sat, 30 Sep 2023 12:14:24 -0500 Subject: [PATCH] Fixed style for qt apps? (I think..) --- user/style/Trolltech.conf.mustache | 14 +++++++------- user/style/oomox-current.conf.mustache | 10 +++++----- user/wm/hyprland/hyprland.nix | 2 ++ 3 files changed, 14 insertions(+), 12 deletions(-) diff --git a/user/style/Trolltech.conf.mustache b/user/style/Trolltech.conf.mustache index 72e1c70..db33435 100644 --- a/user/style/Trolltech.conf.mustache +++ b/user/style/Trolltech.conf.mustache @@ -20,7 +20,7 @@ IntensityEffect=0 [Colors:Button] BackgroundNormal={{base00-rgb-r}},{{base00-rgb-g}},{{base00-rgb-b}} -ForegroundNormal={{base01-rgb-r}},{{base01-rgb-g}},{{base01-rgb-b}} +ForegroundNormal={{base07-rgb-r}},{{base07-rgb-g}},{{base07-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}} @@ -37,18 +37,18 @@ 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}} +ForegroundActive={{base07-rgb-r}},{{base07-rgb-g}},{{base07-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 +ForegroundNormal={{base07-rgb-r}},{{base07-rgb-g}},{{base07-rgb-b}} 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}} +ForegroundNormal={{base07-rgb-r}},{{base07-rgb-g}},{{base07-rgb-b}} BackgroundAlternate=255,0,0 DecorationFocus=0,255,0 DecorationHover=0,0,255 @@ -84,7 +84,7 @@ 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}} +ForegroundNormal={{base07-rgb-r}},{{base07-rgb-g}},{{base07-rgb-b}} ForegroundPositive={{base01-rgb-r}},{{base01-rgb-g}},{{base01-rgb-b}} ForegroundVisited=127,140,141 @@ -98,7 +98,7 @@ 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}} +ForegroundNormal={{base07-rgb-r}},{{base07-rgb-g}},{{base07-rgb-b}} ForegroundPositive={{base01-rgb-r}},{{base01-rgb-g}},{{base01-rgb-b}} ForegroundVisited=127,140,141 @@ -113,7 +113,7 @@ 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}} +activeForeground={{base07-rgb-r}},{{base07-rgb-g}},{{base07-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}} diff --git a/user/style/oomox-current.conf.mustache b/user/style/oomox-current.conf.mustache index 897c909..7da9bd0 100644 --- a/user/style/oomox-current.conf.mustache +++ b/user/style/oomox-current.conf.mustache @@ -1,10 +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}} + active_colors=#{{base07-hex}}, #{{base00-hex}}, #{{base00-hex}}, #{{base00-hex}}, #{{base00-hex}}, #{{base00-hex}}, #{{base0F-hex}}, #{{base07-hex}}, #{{base07-hex}}, #{{base00-hex}}, #{{base00-hex}}, #{{base00-hex}}, #{{base01-hex}}, #{{base00-hex}}, #{{base01-hex}}, #{{base07-hex}}, #{{base00-hex}}, #{{base07-hex}}, 181b24, #{{base07-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}} +inactive_colors=#{{base07-hex}}, #{{base00-hex}}, #{{base00-hex}}, #{{base00-hex}}, #{{base00-hex}}, #{{base00-hex}}, #{{base07-hex}}, #{{base07-hex}}, #{{base07-hex}}, #{{base00-hex}}, #{{base00-hex}}, #{{base00-hex}}, #{{base01-hex}}, #{{base00-hex}}, #{{base01-hex}}, #{{base07-hex}}, #{{base00-hex}}, #{{base07-hex}}, #{{base00-hex}}, #{{base07-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}} +# active_colors=#{{base07-hex}}, #{{base02-hex}}, #{{base00-hex}}, #cbc7c4, #9f9d9a, #b8b5b2, #{{base07-hex}}, #ff0000, #{{base07-hex}}, #{{base00-hex}}, #{{base00-hex}}, #767472, #{{base01-hex}}, #{{base00-hex}}, #{{base01-hex}}, #{{base07-hex}}, #{{base00-hex}}, #{{base07-hex}}, 181b24, #{{base07-hex}} +#disabled_colors=#767081, #{{base02-hex}}, #{{base00-hex}}, #cbc7c4, #9f9d9a, #b8b5b2, #767081, #ffec17, #{{base07-hex}}, #{{base00-hex}}, #{{base00-hex}}, #767472, #{{base01-hex}}, #{{base00-hex}}, #{{base01-hex}}, #767081, #{{base00-hex}}, #767081, #{{base00-hex}}, #767081 +#inactive_colors=#{{base07-hex}}, #{{base02-hex}}, #{{base00-hex}}, #cbc7c4, #9f9d9a, #b8b5b2, #{{base07-hex}}, #ff9040, #{{base07-hex}}, #{{base00-hex}}, #{{base00-hex}}, #767472, #{{base01-hex}}, #{{base00-hex}}, #{{base01-hex}}, #{{base07-hex}}, #{{base00-hex}}, #{{base07-hex}}, #{{base00-hex}}, #{{base07-hex}} diff --git a/user/wm/hyprland/hyprland.nix b/user/wm/hyprland/hyprland.nix index dff8ce9..7871a7c 100644 --- a/user/wm/hyprland/hyprland.nix +++ b/user/wm/hyprland/hyprland.nix @@ -183,6 +183,7 @@ windowrulev2 = opacity 0.80,title:^(New Tab - LibreWolf)$ windowrulev2 = opacity 0.80,title:^(New Tab - Brave)$ windowrulev2 = opacity 0.65,title:^(Home - qutebrowser)$ + windowrulev2 = opacity 0.9,class:^(org.keepassxc.KeePassXC)$ layerrule = blur,waybar @@ -204,6 +205,7 @@ } env = WLR_DRM_DEVICES,/dev/dri/card1:/dev/dri/card0 + env = QT_QPA_PLATFORM_THEME,qt5ct input { kb_layout = us