feat(greetd): add monitor config from hyprland settings
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
7f4496ed51
commit
9ddec92f41
1 changed files with 2 additions and 0 deletions
|
@ -13,6 +13,7 @@
|
|||
isTouchscreen = config.hardware.sensor.iio.enable;
|
||||
|
||||
hyprland = config.home-manager.users.${mainUser}.wayland.windowManager.hyprland.finalPackage;
|
||||
monitors = config.home-manager.users.${mainUser}.wayland.windowManager.hyprland.settings.monitor;
|
||||
|
||||
# Show Regreet on all monitors
|
||||
dupeMonitors = pkgs.writeShellApplication {
|
||||
|
@ -56,6 +57,7 @@
|
|||
"env = __GLX_VENDOR_LIBRARY_NAME,nvidia\n"
|
||||
"env = WLR_NO_HARDWARE_CURSORS,1\n"
|
||||
])
|
||||
++ map (x: "monitor=${x}\n") monitors
|
||||
++ [
|
||||
"exec-once = ${setupMonitors}\n"
|
||||
|
||||
|
|
Loading…
Reference in a new issue