lock
This commit is contained in:
+1
-1
@@ -19,7 +19,7 @@
|
|||||||
before = [ "sleep.target" ];
|
before = [ "sleep.target" ];
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Type = "oneshot";
|
Type = "oneshot";
|
||||||
Environment = "XDG_RUNTIME_DIR=/run/user/%U WAYLAND_DISPLAY=wayland-1 DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/%U/bus";
|
# Environment = "XDG_RUNTIME_DIR=/run/user/%U WAYLAND_DISPLAY=wayland-1 DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/%U/bus";
|
||||||
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