Skip to content

Commit

Permalink
🔧 (lock): replace hyprlock with ags
Browse files Browse the repository at this point in the history
  • Loading branch information
elythh committed Dec 9, 2024
1 parent f5d27f8 commit a81ae7b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions home/profiles/grovetender.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
spicetify.enable = true;
};
launcher = {
anyrun.enable = true;
anyrun.enable = false;
};
lock = {
hyprlock.enable = true;
hyprlock.enable = false;
};
services = {
ags.enable = true;
Expand Down
4 changes: 2 additions & 2 deletions modules/home/opt/services/hypridle/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ in
enable = true;
settings = {
general = {
lock_cmd = "pidof hyprlock || hyprlock";
lock_cmd = "ags run ~/.config/ags/src/lockscreen";
before_sleep_cmd = "loginctl lock-session";
after_sleep_cmd = "hyprctl dispatch dpms on";
};
Expand All @@ -25,7 +25,7 @@ in
}
{
timeout = 600;
on-timeout = "hyprlock";
on-timeout = "ags run ~/.config/ags/src/lockscreen";
}
{
timeout = 1800;
Expand Down
4 changes: 2 additions & 2 deletions modules/home/opt/wayland/hyprland/config/binds.nix
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ in
"SUPER, Return, exec, run-as-service ${terminal}"
"SUPERSHIFT, Z, exec, ${getExe zellij-attach}"
"SUPER, B, exec, firefox"
"SUPER, L, exec, hyprlock"
"SUPER, L, exec, ags run ~/.config/ags/src/lockscreen"
"SUPER, O, exec, run-as-service wl-ocr"

# Screenshot
Expand All @@ -107,7 +107,7 @@ in

bindr = [
# Launchers
" SUPER, D, exec, pkill anyrun || run-as-service anyrun "
" SUPER, D, exec, astal -i shell toggle-popup app-launcher"
" SUPERSHIFT, p, exec, rofi-rbw --no-help --clipboarder wl-copy --keybindings Alt+x:type:password "
" SUPERSHIFT, e, exec, bemoji -t "
" SUPERSHIFT, o, exec, wezterm start --class clipse clipse "
Expand Down

0 comments on commit a81ae7b

Please sign in to comment.