switch back to gtkgreet because it actually fucking works and I don't have to tty2 every time

This commit is contained in:
jacekpoz 2023-07-30 01:18:06 +02:00
parent 9c5d48e411
commit 0a382d62c1

View file

@ -11,7 +11,7 @@ let
exec hash dbus-update-activation-environment 2>/dev/null && \
dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP
exec "${pkgs.greetd.regreet}/bin/regreet; swaymsg exit"
exec "${pkgs.greetd.gtkgreet}/bin/gtkgreet -l; swaymsg exit"
bindsym Mod4+shift+e exec swaynag \
-t warning \
-m 'What do you want to do?' \
@ -69,22 +69,6 @@ in
# https://github.com/NixOS/nixpkgs/issues/158025
security.pam.services.swaylock = {};
programs.regreet = {
enable = true;
settings = {
GTK = {
application_prefer_dark_theme = true;
cursor_theme_name = "Bibata-Modern-Classic";
font_name = "JetBrains Mono 16";
icon_theme_name = "Papirus-Dark";
theme_name = "Catppuccin-Mocha-Standard-Green-dark";
};
env = {
GTK_USE_PORTAL = "0";
};
};
};
fonts.fonts = with pkgs; [
material-design-icons
(nerdfonts.override { fonts = [ "JetBrainsMono" ]; })