Do the swaylock thing from before but better

This commit is contained in:
Jimbo 2024-09-03 19:22:06 -04:00
parent 6bc3e21622
commit 93b29402a4
2 changed files with 5 additions and 3 deletions

View file

@ -6,9 +6,6 @@
bars = [{command = "waybar";}];
startup = [
# Lock the screen on start, to allow an autostarted session
{command = "swaylock";}
# Scratchpads
{command = "foot -a gotop -T Gotop gotop";}
{command = "foot -a music -T Music ncmpcpp";}

View file

@ -58,4 +58,9 @@ in {
home.packages = with pkgs; [
swayLock
];
# Enable Sway lock on startup
wayland.windowManager.sway.config.startup = [
{command = "swaylock";}
];
}