change to tuigreet

This commit is contained in:
insert 2024-04-14 12:07:47 -04:00
parent f31dbc3fcb
commit 7fb888c693
Signed by: insert
GPG key ID: A70775C389ACF105
2 changed files with 10 additions and 22 deletions

View file

@ -53,8 +53,15 @@
# Enable the KDE Plasma Desktop Environment. # Enable the KDE Plasma Desktop Environment.
services.displayManager.sddm.enable = false; services.displayManager.sddm.enable = false;
services.xserver.desktopManager.plasma5.enable = false; services.xserver.desktopManager.plasma5.enable = false;
services.greetd.enable = true; services.greetd = {
programs.regreet.enable = true; enable = true;
settings = {
default_session = {
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time -r --asterisks --cmd Hyprland";
user = "greeter";
};
};
};
services.xrdp.enable = false; services.xrdp.enable = false;
services.xrdp.defaultWindowManager = "startplasma-x11"; services.xrdp.defaultWindowManager = "startplasma-x11";
virtualisation.docker = { virtualisation.docker = {
@ -209,25 +216,6 @@
# "--unsupported-gpu" # "--unsupported-gpu"
# ]; # ];
#}; #};
environment.etc."greetd/regreet.toml".text = lib.mkForce ''[background]
path = "/home/insert/Documents/cat-background/background.png"
fit = "Fill"
[GTK]
# Whether to use the dark theme
application_prefer_dark_theme = true
# Cursor theme name
#cursor_theme_name = "Adwaita"
# Font name and size
font_name = "Monocraft 20"
# Icon theme name
icon_theme_name = "Breeze Dark"
# GTK theme name
#theme_name = "Adwaita"
'';
services.earlyoom = { services.earlyoom = {
enable = true; enable = true;

View file

@ -378,7 +378,7 @@ $mainMod = ALT
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = $mainMod, Q, exec, kitty zsh bind = $mainMod, Q, exec, kitty zsh
bind = $mainMod, C, killactive, bind = $mainMod, C, killactive,
#bind = $mainMod, M, exit, bind = $mainMod, M, exit,
bind = $mainMod, E, exec, kitty nnn bind = $mainMod, E, exec, kitty nnn
bind = $mainMod, V, togglefloating, bind = $mainMod, V, togglefloating,
bind = $mainMod, R, exec, wofi --show drun --allow-images bind = $mainMod, R, exec, wofi --show drun --allow-images