hyprland: remove lockhelper, use hyprlock directly
All checks were successful
Run nix flake check / flake-check (push) Successful in 2m9s
All checks were successful
Run nix flake check / flake-check (push) Successful in 2m9s
This commit is contained in:
@@ -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,"
|
||||
|
||||
Reference in New Issue
Block a user