mirror of
https://github.com/youwen5/liminalOS.git
synced 2025-06-20 05:59:51 -07:00
chore: rename useNvidiaCrashFix -> useCrashFix
This commit is contained in:
parent
a424490090
commit
e87ff22643
2 changed files with 5 additions and 9 deletions
|
@ -58,10 +58,7 @@ in
|
|||
background = {
|
||||
monitor = cfg.screenlocker.monitor;
|
||||
path =
|
||||
if cfg.screenlocker.useNvidiaCrashFix then
|
||||
"/tmp/__hyprlock-monitor-screenshot.png"
|
||||
else
|
||||
"screenshot";
|
||||
if cfg.screenlocker.useCrashFix then "/tmp/__hyprlock-monitor-screenshot.png" else "screenshot";
|
||||
blur_passes = 3;
|
||||
blur_size = 7;
|
||||
noise = 0.0117;
|
||||
|
@ -109,7 +106,7 @@ in
|
|||
settings = {
|
||||
general = {
|
||||
lock_cmd =
|
||||
if cfg.screenlocker.useNvidiaCrashFix then
|
||||
if cfg.screenlocker.useCrashFix then
|
||||
"pidof hyprlock || ${pkgs.grim}/bin/grim -o ${config.programs.hyprlock.settings.background.monitor} /tmp/__hyprlock-monitor-screenshot.png && ${pkgs.hyprlock}/bin/hyprlock"
|
||||
else
|
||||
"pidof hyprlock || hyprlock";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue