compat: update hyprlock calls to new interface
This commit is contained in:
parent
0bb0f25679
commit
37f05c1163
3 changed files with 5 additions and 6 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, pkgs, lib, ... }:
|
{ pkgs, lib, ... }:
|
||||||
let
|
let
|
||||||
scripts = ./scripts;
|
scripts = ./scripts;
|
||||||
shell = "quickshell";
|
shell = "quickshell";
|
||||||
|
|
@ -94,7 +94,7 @@ in {
|
||||||
"$mod, Return, exec, $terminal"
|
"$mod, Return, exec, $terminal"
|
||||||
"$mod, D, global, ${shell}:launcher"
|
"$mod, D, global, ${shell}:launcher"
|
||||||
"$mod Shift, D, global, ${shell}:dashboard"
|
"$mod Shift, D, global, ${shell}:dashboard"
|
||||||
"$mod, M, exec, hyprlock --immediate"
|
"$mod, M, exec, hyprlock"
|
||||||
|
|
||||||
# Exit
|
# Exit
|
||||||
"$mod Shift, E, global, ${shell}:session"
|
"$mod Shift, E, global, ${shell}:session"
|
||||||
|
|
|
||||||
|
|
@ -21,13 +21,13 @@ in {
|
||||||
services.hypridle.enable = true;
|
services.hypridle.enable = true;
|
||||||
services.hypridle.settings = {
|
services.hypridle.settings = {
|
||||||
general = {
|
general = {
|
||||||
before_sleep_cmd = "hyprlock --immediate";
|
before_sleep_cmd = "hyprlock";
|
||||||
};
|
};
|
||||||
|
|
||||||
listener = [
|
listener = [
|
||||||
{
|
{
|
||||||
timeout = 120;
|
timeout = 120;
|
||||||
on-timeout = "hyprlock";
|
on-timeout = "hyprlock --grace 180";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
timeout = 600;
|
timeout = 600;
|
||||||
|
|
|
||||||
|
|
@ -18,8 +18,7 @@
|
||||||
in {
|
in {
|
||||||
general = {
|
general = {
|
||||||
hide_cursor = true;
|
hide_cursor = true;
|
||||||
disable_loading_bar = true;
|
ignore_empty_input = true;
|
||||||
grace = 180;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
background = [
|
background = [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue