hyprland: remove lockhelper, use hyprlock directly

This commit is contained in:
2026-01-30 19:41:23 +01:00
parent 27dd1a5716
commit e8cee85f7c
6 changed files with 2 additions and 87 deletions

View File

@@ -31,8 +31,6 @@ in
enableStreamController = mkEnableOption "streamcontroller service";
useLockHelper = mkEnableOption "use lockhelper script instead of hyprlock directly";
enableGrimblast = mkEnableOption "grimblast screenshot keybinds";
enableWacom = mkEnableOption "Wacom tablet device configuration";
@@ -108,11 +106,7 @@ in
enable = true;
settings = {
general = {
lock_cmd =
if cfg.useLockHelper then
"${pkgs.callPackage ../scripts/lockhelper.nix { }}/bin/lockhelper"
else
"${pkgs.hyprlock}/bin/hyprlock";
lock_cmd = "${pkgs.hyprlock}/bin/hyprlock";
ignore_dbus_inhibit = false;
};
listener = {
@@ -297,12 +291,7 @@ in
"$mainMod,D,exec,rofi-launcher"
"$mainMod,P,exec,rofi-rbw"
# hyprlock
"$shiftMainMod,l,exec,${
if cfg.useLockHelper then
"${pkgs.callPackage ../scripts/lockhelper.nix { }}/bin/lockhelper"
else
"${pkgs.hyprlock}/bin/hyprlock"
}"
"$shiftMainMod,l,exec,${pkgs.hyprlock}/bin/hyprlock"
# hyprland
"$mainMod,Q,killactive,"
"CTRLALT,Delete,exit,"