add wrapper and config

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
2024-05-13 23:07:40 -04:00
committed by Alice Huston
parent 466d7cc9f6
commit 48a1b95c13
4 changed files with 222 additions and 1 deletions

View File

@ -11,7 +11,17 @@
environment.sessionVariables.NIXOS_OZONE_WL = "1";
services.xserver.enable = true;
services.xserver.displayManager.sddm = {
services.xserver.displayManager.session = [
{
manage = "desktop";
name = "hyprland";
start = ''
bash ${./hypr/wrappedhl} &
waitPID=$!
'';
}
];
services.displayManager.sddm = {
enable = true;
wayland.enable = true;
};

View File

@ -0,0 +1,8 @@
#!/usr/bin/env bash
cd ~ || exit
export _JAVA_AWT_WM_NONREPARENTING=1
export XCURSOR_SIZE=24
exec Hyprland