From 533a4879e61cc3ea58d979ed8e535aef3b565172 Mon Sep 17 00:00:00 2001 From: Patrick Date: Wed, 4 Oct 2023 13:49:11 +0200 Subject: [PATCH] fix(theme/qt): gtk theme had no qt support feat(i3): workspace assigns --- users/common/graphical/Xorg/wallpapers.nix | 2 +- users/common/graphical/sway3.nix | 21 +++++++++++++++++++++ users/common/graphical/themes.nix | 7 +++++-- 3 files changed, 27 insertions(+), 3 deletions(-) diff --git a/users/common/graphical/Xorg/wallpapers.nix b/users/common/graphical/Xorg/wallpapers.nix index ad4e5dd..9c9aa46 100644 --- a/users/common/graphical/Xorg/wallpapers.nix +++ b/users/common/graphical/Xorg/wallpapers.nix @@ -22,7 +22,7 @@ in { Description = "Set a random wallpaper every 3 minutes"; }; Timer = { - OnActiveSec = "0 sec"; + OnActiveSec = "2 sec"; OnUnitActiveSec = "3 min"; }; Install.WantedBy = ["timers.target"]; diff --git a/users/common/graphical/sway3.nix b/users/common/graphical/sway3.nix index 15a5834..b30350a 100644 --- a/users/common/graphical/sway3.nix +++ b/users/common/graphical/sway3.nix @@ -32,6 +32,27 @@ let trayOutput = "primary"; } ]; + floating.criteria = [ + {class = "Pavucontrol";} + ]; + + assigns = { + "d" = [ + {class = "^firefox$";} + ]; + "a" = [ + {class = "^bottles$";} + {class = "^steam$";} + {class = "^prismlauncher$";} + ]; + "F1" = [ + {class = "^Discord$";} + ]; + "F2" = [ + {class = "^Signal$";} + {class = "^TelegramDesktop$";} + ]; + }; workspaceOutputAssign = let output = out: diff --git a/users/common/graphical/themes.nix b/users/common/graphical/themes.nix index 58333e1..5df36e7 100644 --- a/users/common/graphical/themes.nix +++ b/users/common/graphical/themes.nix @@ -54,8 +54,11 @@ }; theme = lib.mkForce { - name = "Orchis-purple-solid-black"; - package = pkgs.orchis-theme; + # Orchis has no support for qt + #name = "Orchis-purple-solid-black"; + #package = pkgs.orchis-theme; + name = "WhiteSur-Dark-solid"; + package = pkgs.whitesur-gtk-theme; }; gtk2.extraConfig = "gtk-application-prefer-dark-theme = true";