Skip to content

Commit

Permalink
feat: back to swaylock
Browse files Browse the repository at this point in the history
  • Loading branch information
erictossell committed Jul 7, 2024
1 parent a98aeae commit 024b4f6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions modules/core/terminal/foot/dots/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
home-manager.users.${username} = _: {
home.file = {
".config/foot/foot.ini".text = ''
font=M+1Code Nerd Font:size=13
font=Jetbrains Mono:size=13
pad=15x15
[colors]
alpha=0.8
alpha=0.5
background=232136
'';
};
Expand Down
2 changes: 1 addition & 1 deletion modules/hyprland/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
./hypridle
./hyprlock
./mako
#./swaylock
./swaylock
./waybar
./wofi
];
Expand Down
2 changes: 1 addition & 1 deletion modules/hyprland/hypridle/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

".config/hypr/hypridle.conf".text = ''
general {
lock_cmd = pidof hyprlock || hyprlock # avoid starting multiple hyprlock instances.
lock_cmd = pidof swaylock || swaylock # avoid starting multiple hyprlock instances.
before_sleep_cmd = loginctl lock-session # lock before suspend.
after_sleep_cmd = hyprctl dispatch dpms on # to avoid having to press a key twice to turn on the display.
}
Expand Down
1 change: 0 additions & 1 deletion modules/hyprland/swaylock/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
pkgs,
home-manager,
username,
...
}:
Expand Down

0 comments on commit 024b4f6

Please sign in to comment.