Update alpheratz and readd anki

This commit is contained in:
Ethan Simmons
2025-09-27 14:30:50 -05:00
parent fc5f7cb0ee
commit 9c1c182944
4 changed files with 30 additions and 22 deletions

View File

@@ -37,12 +37,18 @@ in
command = "systemctl suspend";
})
];
events = [
(mkIf (!gui.sway.desktop) {
event = "before-sleep";
command = "${pkgs.swaylock}/bin/swaylock -f -c 000000";
})
];
events = (mkIf (!gui.sway.desktop) {
"before-sleep" = "${pkgs.swaylock}/bin/swaylock -f -c 000000";
});
# Updated for unstable
# events = [
# (mkIf (!gui.sway.desktop) {
# event = "before-sleep";
# command = "${pkgs.swaylock}/bin/swaylock -f -c 000000";
# })
# ];
};
wayland.windowManager.sway = {