Changed: ReGreet

This commit is contained in:
DerGrumpf 2025-04-01 01:37:47 +02:00
parent 7a485c2bcf
commit 450c8c6273
2 changed files with 21 additions and 15 deletions

View File

@ -1,25 +1,31 @@
{ pkgs, username, ... }: { { pkgs, username, ... }: {
services.greetd = { services.greetd = {
enable = true; enable = true;
settings = {
default_session = {
user = username;
command = "$HOME/.wayland-session";
};
};
};
services.displayManager = {
sessionPackages = [ pkgs.hyprland ];
}; };
services.cage = { environment.etc= {
enable = true; "greetd/background.jpg".source = ./background.jpg;
user = username; "greetd/environments".text = ''
};
environment.etc.greetd = {
"background.jpg".source = ./background.jpg;
"environments".text = ''
hyprland hyprland
fish fish
''; '';
}; };
programs.regreet = {
# Session File Hyprland ?
/*programs.regreet = {
enable = true; enable = true;
cageArgs = ["-s" "-m" "last" ]; # cageArgs = ["-s" "-m" "last" ];
settings = ./regreet.toml; settings = ./regreet.toml;
}; };*/
} }

View File

@ -50,14 +50,14 @@ greeting_msg = "Hey there, Master."
[widget.clock] [widget.clock]
# strftime format argument # strftime format argument
# See https://docs.rs/jiff/0.1.14/jiff/fmt/strtime/index.html#conversion-specifications # See https://docs.rs/jiff/0.1.14/jiff/fmt/strtime/index.html#conversion-specifications
format = "%A" format = "%A %T"
# How often to update the text # How often to update the text
resolution = "500ms" resolution = "500ms"
# Override system timezone (IANA Time Zone Database name, aka /etc/zoneinfo path) # Override system timezone (IANA Time Zone Database name, aka /etc/zoneinfo path)
# Remove to use the system time zone. # Remove to use the system time zone.
timezone = "America/Chicago" timezone = "Europe/Berlin"
# Ask GTK to make the label at least this wide. This helps keeps the parent element layout and width consistent. # Ask GTK to make the label at least this wide. This helps keeps the parent element layout and width consistent.
# Experiment with different widths, the interpretation of this value is entirely up to GTK. # Experiment with different widths, the interpretation of this value is entirely up to GTK.