Revert "add(hypridle): xscreensaver is back!"
This reverts commit b9a9b5cf6f.
This commit is contained in:
@@ -1,15 +1,9 @@
|
||||
{pkgs, ...}: {
|
||||
imports = [
|
||||
../xscreensaver
|
||||
];
|
||||
|
||||
wayland.windowManager.hyprland.settings = {
|
||||
exec-once = [
|
||||
"uwsm app -- hypridle"
|
||||
"uwsm app -- xscreensaver -no-splash"
|
||||
];
|
||||
};
|
||||
|
||||
services.hypridle = {
|
||||
enable = true;
|
||||
settings = {
|
||||
@@ -21,11 +15,10 @@
|
||||
};
|
||||
|
||||
listener = [
|
||||
{
|
||||
timeout = 180; # 3min
|
||||
on-timeout = "${pkgs.xscreensaver}/bin/xscreensaver-command -activate";
|
||||
on-resume = "${pkgs.xscreensaver}/bin/xscreensaver-command -deactivate";
|
||||
}
|
||||
# {
|
||||
# timeout = 180; # 3min
|
||||
# on-timeout = "tte-screensaver";
|
||||
# }
|
||||
{
|
||||
timeout = 300; # 5min
|
||||
on-timeout = "hakase-hyprlock"; # lock screen when timeout has passed
|
||||
|
||||
Reference in New Issue
Block a user