Sway doesn't like user defined QT theming to system wide it is I guess
This commit is contained in:
parent
95e5895cae
commit
d74444bd2f
|
@ -14,7 +14,7 @@
|
||||||
style = "beam";
|
style = "beam";
|
||||||
};
|
};
|
||||||
colors = let
|
colors = let
|
||||||
colors = import ../style/colors.nix;
|
colors = import ../common/colors.nix;
|
||||||
in {
|
in {
|
||||||
alpha = "0.65";
|
alpha = "0.65";
|
||||||
background = "${colors.dark}";
|
background = "${colors.dark}";
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{pkgs, config, ...}: let
|
{pkgs, config, ...}: let
|
||||||
# Import variables
|
# Import variables
|
||||||
colors = import ../style/colors.nix;
|
colors = import ../common/colors.nix;
|
||||||
fonts = import ../common/fonts.nix;
|
fonts = import ../common/fonts.nix;
|
||||||
|
|
||||||
# FireFox colors
|
# FireFox colors
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
theme = let
|
theme = let
|
||||||
inherit (config.lib.formats.rasi) mkLiteral;
|
inherit (config.lib.formats.rasi) mkLiteral;
|
||||||
border = import ../common/border.nix;
|
border = import ../common/border.nix;
|
||||||
colors = import ../style/colors.nix;
|
colors = import ../common/colors.nix;
|
||||||
in {
|
in {
|
||||||
"*" = {
|
"*" = {
|
||||||
lightbg = mkLiteral "#EEE8D5";
|
lightbg = mkLiteral "#EEE8D5";
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
# GUI Apps
|
# GUI Apps
|
||||||
./misc/guifiles.nix
|
./misc/guifiles.nix
|
||||||
./sway/sway.nix
|
./sway/sway.nix
|
||||||
|
./guiapps/gtk.nix
|
||||||
./guiapps/foot.nix
|
./guiapps/foot.nix
|
||||||
./guiapps/librewolf.nix
|
./guiapps/librewolf.nix
|
||||||
./guiapps/mangohud.nix
|
./guiapps/mangohud.nix
|
||||||
|
@ -31,10 +32,6 @@
|
||||||
./misc/school.nix
|
./misc/school.nix
|
||||||
./misc/variables.nix
|
./misc/variables.nix
|
||||||
|
|
||||||
# Theming
|
|
||||||
./style/gtk.nix
|
|
||||||
./style/qt.nix
|
|
||||||
|
|
||||||
# Services
|
# Services
|
||||||
./services/gnome-keyring.nix
|
./services/gnome-keyring.nix
|
||||||
./services/mako.nix
|
./services/mako.nix
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{pkgs, ...}: {
|
{pkgs, ...}: {
|
||||||
# Notification daemon
|
# Notification daemon
|
||||||
services.mako = let
|
services.mako = let
|
||||||
colors = import ../style/colors.nix;
|
colors = import ../common/colors.nix;
|
||||||
border = import ../common/border.nix;
|
border = import ../common/border.nix;
|
||||||
displays = import ../common/displays.nix;
|
displays = import ../common/displays.nix;
|
||||||
fonts = import ../common/fonts.nix;
|
fonts = import ../common/fonts.nix;
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
{
|
|
||||||
qt = {
|
|
||||||
enable = true;
|
|
||||||
style = {
|
|
||||||
name = "gtk2";
|
|
||||||
};
|
|
||||||
platformTheme.name = "gtk2";
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -2,7 +2,7 @@
|
||||||
wayland.windowManager.sway = {
|
wayland.windowManager.sway = {
|
||||||
config = let
|
config = let
|
||||||
border = import ../common/border.nix;
|
border = import ../common/border.nix;
|
||||||
colors = import ../style/colors.nix;
|
colors = import ../common/colors.nix;
|
||||||
displays = import ../common/displays.nix;
|
displays = import ../common/displays.nix;
|
||||||
nixcfg = import ../common/nixcfg.nix;
|
nixcfg = import ../common/nixcfg.nix;
|
||||||
ws = import ./workspaces.nix;
|
ws = import ./workspaces.nix;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{config, pkgs, ...}: let
|
{config, pkgs, ...}: let
|
||||||
swayLock = let
|
swayLock = let
|
||||||
colors = import ../style/colors.nix;
|
colors = import ../common/colors.nix;
|
||||||
fonts = import ../common/fonts.nix;
|
fonts = import ../common/fonts.nix;
|
||||||
in pkgs.writeScriptBin "swaylock" ''
|
in pkgs.writeScriptBin "swaylock" ''
|
||||||
# Set the lock script
|
# Set the lock script
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
# Use grim and slurp to take screenshots in multiple ways
|
# Use grim and slurp to take screenshots in multiple ways
|
||||||
swayShot = let
|
swayShot = let
|
||||||
border = import ../common/border.nix;
|
border = import ../common/border.nix;
|
||||||
colors = import ../style/colors.nix;
|
colors = import ../common/colors.nix;
|
||||||
in pkgs.writeScriptBin "swayshot" ''
|
in pkgs.writeScriptBin "swayshot" ''
|
||||||
# Swappy
|
# Swappy
|
||||||
handle_swappy() {
|
handle_swappy() {
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
wrapperFeatures.gtk = true;
|
wrapperFeatures.gtk = true;
|
||||||
checkConfig = false;
|
checkConfig = false;
|
||||||
config = let
|
config = let
|
||||||
colors = import ../style/colors.nix;
|
colors = import ../common/colors.nix;
|
||||||
fonts = import ../common/fonts.nix;
|
fonts = import ../common/fonts.nix;
|
||||||
in {
|
in {
|
||||||
# Theming settings
|
# Theming settings
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{pkgs, ...}: {
|
{pkgs, ...}: {
|
||||||
programs.waybar = let
|
programs.waybar = let
|
||||||
colors = import ../style/colors.nix;
|
colors = import ../common/colors.nix;
|
||||||
displays = import ../common/displays.nix;
|
displays = import ../common/displays.nix;
|
||||||
fonts = import ../common/fonts.nix;
|
fonts = import ../common/fonts.nix;
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
];
|
];
|
||||||
extraConfig = let
|
extraConfig = let
|
||||||
# Import colors
|
# Import colors
|
||||||
colors = import ../style/colors.nix;
|
colors = import ../common/colors.nix;
|
||||||
in ''
|
in ''
|
||||||
lua <<EOF
|
lua <<EOF
|
||||||
-- Set up nvim-cmp
|
-- Set up nvim-cmp
|
||||||
|
|
|
@ -16,6 +16,7 @@
|
||||||
./desktop/bluetooth.nix
|
./desktop/bluetooth.nix
|
||||||
./desktop/firewall.nix
|
./desktop/firewall.nix
|
||||||
./desktop/fonts.nix
|
./desktop/fonts.nix
|
||||||
|
./desktop/qt.nix
|
||||||
|
|
||||||
# Modules
|
# Modules
|
||||||
./modules/security.nix
|
./modules/security.nix
|
||||||
|
|
7
nixos/desktop/qt.nix
Normal file
7
nixos/desktop/qt.nix
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
{
|
||||||
|
qt = {
|
||||||
|
enable = true;
|
||||||
|
style = "gtk2";
|
||||||
|
platformTheme = "gtk2";
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue