feat(avizo): Improve styling

Much more to my liking
This commit is contained in:
Jalil David Salamé Messina 2024-04-10 18:46:12 +02:00
parent ce37942672
commit 071166a842
Signed by: jalil
GPG key ID: F016B9E770737A0B

View file

@ -64,34 +64,48 @@ in
exec sway exec sway
fi fi
''; '';
# Volume/Backlight control and notifications # Volume/Backlight control and notifications
services.avizo.enable = true; services.avizo = {
enable = true;
settings.default = {
time = 0.8;
border-width = 0;
height = 176;
y-offset = 0.1;
block-spacing = 1;
};
};
# Auto configure displays # Auto configure displays
services.kanshi.enable = lib.mkDefault true; services.kanshi.enable = lib.mkDefault true;
# Notifications # Notifications
services.mako.enable = true; services.mako = {
services.mako.layer = "overlay"; enable = true;
services.mako.borderRadius = 8; layer = "overlay";
services.mako.defaultTimeout = 15000; borderRadius = 8;
defaultTimeout = 15000;
};
# Window Manager # Window Manager
wayland.windowManager.sway.enable = true; wayland.windowManager.sway = {
wayland.windowManager.sway.package = swayPkg; # no sway package if it comes from the OS enable = true;
wayland.windowManager.sway.config = import ./sway-config.nix { inherit config pkgs; }; package = swayPkg; # no sway package if it comes from the OS
config = import ./sway-config.nix { inherit config pkgs; };
};
# Set cursor style # Set cursor style
stylix.cursor = cursor; stylix.cursor = cursor;
home.pointerCursor.gtk.enable = true; home.pointerCursor.gtk.enable = true;
# Set Gtk theme # Set Gtk theme
gtk.enable = true; gtk = {
gtk.iconTheme = iconTheme; enable = true;
gtk.gtk3.extraConfig.gtk-application-prefer-dark-theme = 1; iconTheme = iconTheme;
gtk.gtk4.extraConfig.gtk-application-prefer-dark-theme = 1; gtk3.extraConfig.gtk-application-prefer-dark-theme = 1;
gtk4.extraConfig.gtk-application-prefer-dark-theme = 1;
};
# Set Qt theme # Set Qt theme
qt.enable = true; qt = {
qt.platformTheme = "gtk"; enable = true;
platformTheme = "gtk";
};
xdg.systemDirs.data = [ xdg.systemDirs.data = [
"/usr/share" "/usr/share"