correct hyprctl calling
This commit is contained in:
@@ -15,6 +15,11 @@
|
||||
|
||||
systemd.services.heat-room = {
|
||||
description = "Morning room heating";
|
||||
after = [ "graphical-session.target" ];
|
||||
environment = {
|
||||
WAYLAND_DISPLAY = "wayland-1";
|
||||
XDG_RUNTIME_DIR = "/run/user/1000";
|
||||
};
|
||||
serviceConfig = {
|
||||
Type = "oneshot";
|
||||
User = "jeremy";
|
||||
@@ -22,7 +27,7 @@
|
||||
script = ''
|
||||
${pkgs.furmark}/bin/furmark --demo furmark-gl &
|
||||
sleep 1s
|
||||
hyprctl dispatch dpms off
|
||||
${pkgs.hyprland}/bin/hyprctl dispatch dpms off
|
||||
sleep 2h
|
||||
pkill furmark
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user