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