No more hyprland splash
This commit is contained in:
parent
fa93ddee95
commit
646e68f1d2
|
@ -32,6 +32,13 @@ gestures {
|
||||||
workspace_swipe_fingers = 3
|
workspace_swipe_fingers = 3
|
||||||
}
|
}
|
||||||
|
|
||||||
|
misc {
|
||||||
|
# Configure the default hyprland branding
|
||||||
|
disable_hyprland_logo = true
|
||||||
|
disable_splash_rendering = true
|
||||||
|
# force_hypr_chan = true
|
||||||
|
}
|
||||||
|
|
||||||
# Execute apps at launch
|
# Execute apps at launch
|
||||||
exec-once = wezterm & firefox & discocss & spotify & obsidian
|
exec-once = wezterm & firefox & discocss & spotify & obsidian
|
||||||
|
|
||||||
|
|
|
@ -27,6 +27,9 @@ in
|
||||||
# See [the imperanence readme](https://github.com/nix-community/impermanence#home-manager)
|
# See [the imperanence readme](https://github.com/nix-community/impermanence#home-manager)
|
||||||
programs.fuse.userAllowOther = true;
|
programs.fuse.userAllowOther = true;
|
||||||
|
|
||||||
|
# Customize tty colors
|
||||||
|
stylix.targets.console.enable = true;
|
||||||
|
|
||||||
nixpkgs = {
|
nixpkgs = {
|
||||||
# Add all overlays defined in the overlays directory
|
# Add all overlays defined in the overlays directory
|
||||||
overlays = builtins.attrValues outputs.overlays ++ [
|
overlays = builtins.attrValues outputs.overlays ++ [
|
||||||
|
|
33
hosts/nixos/common/optional/greetd.nix
Normal file
33
hosts/nixos/common/optional/greetd.nix
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
let
|
||||||
|
# [Gtkgreet](https://git.sr.ht/~kennylevinsen/gtkgreet) — greetd greeter of choice
|
||||||
|
gtkgreet = lib.getExe pkgs.greetd.gtkgreet;
|
||||||
|
|
||||||
|
# [Cage](https://github.com/cage-kiosk/cage) — wayland kiosk
|
||||||
|
cage = lib.getExe pkgs.cage;
|
||||||
|
|
||||||
|
dbus-run-session = "${pkgs.dbus}/bin/dbus-run-session";
|
||||||
|
|
||||||
|
kiosk = command:
|
||||||
|
"${dbus-run-session} ${cage} -s -- ${command}";
|
||||||
|
|
||||||
|
background = ../../../../common/themes/wallpapers/eye.png;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
services.greetd = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
default_session = {
|
||||||
|
# command = kiosk "${gtkgreet} -b ${background}";
|
||||||
|
command = ''
|
||||||
|
${lib.getExe pkgs.greetd.tuigreet} \
|
||||||
|
-c ${lib.getExe config.programs.hyprland.package} \
|
||||||
|
-g "(。◕‿◕。) Welcome to tethys!" \
|
||||||
|
--remember
|
||||||
|
--asterisks
|
||||||
|
'';
|
||||||
|
user = "adrielus";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -4,7 +4,7 @@
|
||||||
../common/users/adrielus.nix
|
../common/users/adrielus.nix
|
||||||
|
|
||||||
../common/optional/pipewire.nix
|
../common/optional/pipewire.nix
|
||||||
../common/optional/lightdm.nix
|
../common/optional/greetd.nix
|
||||||
../common/optional/steam.nix
|
../common/optional/steam.nix
|
||||||
../common/optional/slambda.nix
|
../common/optional/slambda.nix
|
||||||
../common/optional/xdg-portal.nix
|
../common/optional/xdg-portal.nix
|
||||||
|
|
|
@ -86,6 +86,7 @@ in
|
||||||
xdg.configFile."hypr/hyprpaper.conf".text = ''
|
xdg.configFile."hypr/hyprpaper.conf".text = ''
|
||||||
${lib.concatStringsSep "\n" (lib.forEach cfg.preload (image: "preload=${image}"))}
|
${lib.concatStringsSep "\n" (lib.forEach cfg.preload (image: "preload=${image}"))}
|
||||||
${lib.concatStringsSep "\n" (lib.forEach cfg.wallpapers mkWallpaper)}
|
${lib.concatStringsSep "\n" (lib.forEach cfg.wallpapers mkWallpaper)}
|
||||||
|
splash=true
|
||||||
'';
|
'';
|
||||||
|
|
||||||
systemd.user.services.hyprpaper = {
|
systemd.user.services.hyprpaper = {
|
||||||
|
|
Loading…
Reference in a new issue