lock
This commit is contained in:
@@ -20,6 +20,7 @@
|
|||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Type = "oneshot";
|
Type = "oneshot";
|
||||||
User = "odweta"; # run as your user
|
User = "odweta"; # run as your user
|
||||||
|
Environment = "XDG_RUNTIME_DIR=/run/user/1000";
|
||||||
ExecStart = "${pkgs.hyprlock}/bin/hyprlock -c /etc/hypr/hyprlock.conf";
|
ExecStart = "${pkgs.hyprlock}/bin/hyprlock -c /etc/hypr/hyprlock.conf";
|
||||||
};
|
};
|
||||||
wantedBy = [ "sleep.target" ];
|
wantedBy = [ "sleep.target" ];
|
||||||
|
|||||||
Reference in New Issue
Block a user