feat(greeter): ctp-gtk 0.5.0 & scaling

This commit is contained in:
winston 2023-05-20 08:27:56 +02:00
parent 0b901b78a6
commit 2b830fd3e7
Signed by: winston
GPG key ID: 3786770EDBC2B481

View file

@ -5,6 +5,9 @@
... ...
}: let }: let
greetdConfig = pkgs.writeText "greetd-config" '' greetdConfig = pkgs.writeText "greetd-config" ''
output "*" {
scale 2
}
exec "dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP" exec "dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP"
seat seat0 xcursor_theme "Numix-Cursor" 24 seat seat0 xcursor_theme "Numix-Cursor" 24
xwayland disable xwayland disable
@ -21,7 +24,7 @@ in {
GTK = { GTK = {
font_name = "IBM Plex Mono 16"; font_name = "IBM Plex Mono 16";
cursor_theme_name = "Numix-Cursor"; cursor_theme_name = "Numix-Cursor";
icon_theme_name = "Papirus-Dark"; icon_theme_name = "Papirus";
theme_name = "Catppuccin-Mocha-Compact-Pink-Dark"; theme_name = "Catppuccin-Mocha-Compact-Pink-Dark";
}; };
}; };
@ -74,6 +77,20 @@ in {
variant = "mocha"; variant = "mocha";
size = "compact"; size = "compact";
}) })
((pkgs.catppuccin-gtk.overrideAttrs (final: rec {
version = "0.5.0";
src = fetchFromGitHub {
owner = "catppuccin";
repo = "gtk";
rev = "v${version}";
sha256 = "sha256-tVkB9R3Z4lApCIveWPweTnB/JlwbiVAHREGq+xRINkM=";
};
}))
.override {
accents = ["pink"];
variant = "latte";
size = "compact";
})
(pkgs.nur.repos.nekowinston.papirus-folders-catppuccin.override { (pkgs.nur.repos.nekowinston.papirus-folders-catppuccin.override {
flavour = "mocha"; flavour = "mocha";
accent = "pink"; accent = "pink";