-
Notifications
You must be signed in to change notification settings - Fork 13
Better QT and GTK theming #232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 20 commits
f3263fb
56460da
6390361
87241da
6ab570d
54d7b20
4c48e2c
b04c5fd
8882fd4
6550f31
bd991c9
fe514e5
3ceb26e
1b59741
8f01b15
4c8329d
5980520
15d9db9
908a2e7
4290474
e1eff8a
622b559
a6c100d
c8c4c42
6148304
c8e7256
c522f5e
c04a5d7
6abd8ae
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -107,6 +107,13 @@ in | |||||||||||||||
| # Conflict override since multiple DEs set this option | ||||||||||||||||
| programs.ssh.askPassword = pkgs.lib.mkForce (lib.getExe pkgs.ksshaskpass.out); | ||||||||||||||||
|
|
||||||||||||||||
| xdg.portal = { | ||||||||||||||||
| enable = true; | ||||||||||||||||
| extraPortals = with pkgs; [ | ||||||||||||||||
| xdg-desktop-portal-gtk | ||||||||||||||||
| ]; | ||||||||||||||||
| }; | ||||||||||||||||
|
|
||||||||||||||||
| environment.systemPackages = with pkgs; [ | ||||||||||||||||
| catppuccin-sddm | ||||||||||||||||
|
|
||||||||||||||||
|
|
@@ -125,6 +132,13 @@ in | |||||||||||||||
|
|
||||||||||||||||
| # OCF IRC | ||||||||||||||||
| halloy | ||||||||||||||||
|
|
||||||||||||||||
| # Themes | ||||||||||||||||
| adw-gtk3 | ||||||||||||||||
| libsForQt5.qt5ct | ||||||||||||||||
| kdePackages.qt6ct | ||||||||||||||||
| adwaita-qt | ||||||||||||||||
| adwaita-qt6 | ||||||||||||||||
| ]; | ||||||||||||||||
|
|
||||||||||||||||
| fonts.packages = with pkgs; [ | ||||||||||||||||
|
|
@@ -133,6 +147,18 @@ in | |||||||||||||||
| noto-fonts-cjk-sans | ||||||||||||||||
| ]; | ||||||||||||||||
|
|
||||||||||||||||
| environment.sessionVariables = { | ||||||||||||||||
| QT_QPA_PLATFORMTHEME = "qt5ct"; | ||||||||||||||||
|
||||||||||||||||
| QT_QPA_PLATFORMTHEME = "qt5ct"; | |
| QT_QPA_PLATFORMTHEME = "gtk3"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hallucination
Outdated
Copilot
AI
Apr 2, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
programs.firefox.preferences doesn't appear to be a valid NixOS option in this repo (other Firefox config uses programs.firefox.policies.Preferences). As written, this is likely to fail evaluation with “option does not exist”. Consider moving this setting under programs.firefox.policies.Preferences (with the expected { Value = ...; Status = ...; } structure) or using the existing browsers module to carry this preference.
| preferences = { | |
| "widget.gtk.libadwaita-colors.enabled" = false; | |
| policies.Preferences = { | |
| "widget.gtk.libadwaita-colors.enabled" = { | |
| Value = false; | |
| Status = "default"; | |
| }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed
Outdated
Copilot
AI
Apr 2, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The sed -i invocations use unquoted path variables (e.g. $COSMIC_BG_FILE, $QT5CT_THEME_FILE, $QT6CT_THEME_FILE). This can break on unexpected characters and also produces noisy errors if the target files don't exist (common for existing users who don't have the new skel files). Quote these paths and guard/initialize the qt5ct/qt6ct config files before editing so the theme sync is reliable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| true |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| [Appearance] | ||
| icon_theme=Cosmic | ||
| standard_dialogs=gtk3 | ||
| style=Adwaita-Dark |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| [Appearance] | ||
| icon_theme=Cosmic | ||
| standard_dialogs=gtk3 | ||
| style=Adwaita-Dark |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A new flake input (
nixpkgs-unstable) was added, butflake.lockdoes not contain a corresponding node (verified by searchingflake.lock). This will breaknixcommands that require a locked input set. Please runnix flake lock --update-input nixpkgs-unstable(and commit the lockfile change) or drop the input if it's not needed yet.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed