deprecate stylix, fix minor gripes and bugs

This commit is contained in:
alisceon 2026-05-22 19:48:24 +02:00
parent 6b492bad2f
commit fb1ad8d919
42 changed files with 951 additions and 688 deletions

View file

@ -6,10 +6,11 @@ in
{
imports = [
./gtk.nix
./theme.nix
./xdg.nix
./shells/default.nix
../../programs/foot.nix
../../programs/qutebrowser.nix
../../programs/qutebrowser
../../services/espanso.nix
../../services/gnome-keyring.nix
];

View file

@ -5,8 +5,8 @@ let
in
{
imports = [
../../../programs/rofi.nix
../../../programs/waybar.nix
../../../programs/rofi
../../../programs/waybar
../../../programs/swaylock.nix
../../../services/swayidle.nix
../../../services/mako.nix

View file

@ -0,0 +1,45 @@
{ theme, ... }:
let
p = theme.palette;
in
{
wayland.windowManager.sway.config.colors = {
background = p.darkestGray;
focused = {
background = p.darkestGray;
border = p.purple;
childBorder = p.purple;
indicator = p.green;
text = p.lightGray;
};
focusedInactive = {
background = p.darkestGray;
border = p.gray;
childBorder = p.gray;
indicator = p.green;
text = p.lightGray;
};
placeholder = {
background = p.darkestGray;
border = p.gray;
childBorder = p.gray;
indicator = p.green;
text = p.lightGray;
};
unfocused = {
background = p.darkestGray;
border = p.gray;
childBorder = p.gray;
indicator = p.green;
text = p.lightGray;
};
urgent = {
background = p.darkestGray;
border = p.red;
childBorder = p.red;
indicator = p.green;
text = p.lightGray;
};
};
}

View file

@ -1,4 +1,4 @@
{ pkgs, ... }:
{ pkgs, pkgs-unstable, ... }:
let
commands = import ../../../../lib/commands.nix { inherit pkgs; };
inherit (commands) swaymsg lock;
@ -28,7 +28,7 @@ in
pkgs.vlc
pkgs.loupe
pkgs.nautilus
pkgs.chromium
pkgs-unstable.chromium
];
defaultApplications = {
"text/*" = [ "${pkgs.gnome-text-editor}/share/applications/org.gnome.TextEditor.desktop" ];