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";
|
||||
};
|
||||
colors = let
|
||||
colors = import ../style/colors.nix;
|
||||
colors = import ../common/colors.nix;
|
||||
in {
|
||||
alpha = "0.65";
|
||||
background = "${colors.dark}";
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{pkgs, config, ...}: let
|
||||
# Import variables
|
||||
colors = import ../style/colors.nix;
|
||||
colors = import ../common/colors.nix;
|
||||
fonts = import ../common/fonts.nix;
|
||||
|
||||
# FireFox colors
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
theme = let
|
||||
inherit (config.lib.formats.rasi) mkLiteral;
|
||||
border = import ../common/border.nix;
|
||||
colors = import ../style/colors.nix;
|
||||
colors = import ../common/colors.nix;
|
||||
in {
|
||||
"*" = {
|
||||
lightbg = mkLiteral "#EEE8D5";
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
# GUI Apps
|
||||
./misc/guifiles.nix
|
||||
./sway/sway.nix
|
||||
./guiapps/gtk.nix
|
||||
./guiapps/foot.nix
|
||||
./guiapps/librewolf.nix
|
||||
./guiapps/mangohud.nix
|
||||
|
@ -31,10 +32,6 @@
|
|||
./misc/school.nix
|
||||
./misc/variables.nix
|
||||
|
||||
# Theming
|
||||
./style/gtk.nix
|
||||
./style/qt.nix
|
||||
|
||||
# Services
|
||||
./services/gnome-keyring.nix
|
||||
./services/mako.nix
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{pkgs, ...}: {
|
||||
# Notification daemon
|
||||
services.mako = let
|
||||
colors = import ../style/colors.nix;
|
||||
colors = import ../common/colors.nix;
|
||||
border = import ../common/border.nix;
|
||||
displays = import ../common/displays.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 = {
|
||||
config = let
|
||||
border = import ../common/border.nix;
|
||||
colors = import ../style/colors.nix;
|
||||
colors = import ../common/colors.nix;
|
||||
displays = import ../common/displays.nix;
|
||||
nixcfg = import ../common/nixcfg.nix;
|
||||
ws = import ./workspaces.nix;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{config, pkgs, ...}: let
|
||||
swayLock = let
|
||||
colors = import ../style/colors.nix;
|
||||
colors = import ../common/colors.nix;
|
||||
fonts = import ../common/fonts.nix;
|
||||
in pkgs.writeScriptBin "swaylock" ''
|
||||
# Set the lock script
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# Use grim and slurp to take screenshots in multiple ways
|
||||
swayShot = let
|
||||
border = import ../common/border.nix;
|
||||
colors = import ../style/colors.nix;
|
||||
colors = import ../common/colors.nix;
|
||||
in pkgs.writeScriptBin "swayshot" ''
|
||||
# Swappy
|
||||
handle_swappy() {
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
wrapperFeatures.gtk = true;
|
||||
checkConfig = false;
|
||||
config = let
|
||||
colors = import ../style/colors.nix;
|
||||
colors = import ../common/colors.nix;
|
||||
fonts = import ../common/fonts.nix;
|
||||
in {
|
||||
# Theming settings
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{pkgs, ...}: {
|
||||
programs.waybar = let
|
||||
colors = import ../style/colors.nix;
|
||||
colors = import ../common/colors.nix;
|
||||
displays = import ../common/displays.nix;
|
||||
fonts = import ../common/fonts.nix;
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
];
|
||||
extraConfig = let
|
||||
# Import colors
|
||||
colors = import ../style/colors.nix;
|
||||
colors = import ../common/colors.nix;
|
||||
in ''
|
||||
lua <<EOF
|
||||
-- Set up nvim-cmp
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
./desktop/bluetooth.nix
|
||||
./desktop/firewall.nix
|
||||
./desktop/fonts.nix
|
||||
./desktop/qt.nix
|
||||
|
||||
# Modules
|
||||
./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