Do the swaylock thing from before but better
This commit is contained in:
parent
6bc3e21622
commit
93b29402a4
|
@ -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";}
|
||||
|
|
|
@ -58,4 +58,9 @@ in {
|
|||
home.packages = with pkgs; [
|
||||
swayLock
|
||||
];
|
||||
|
||||
# Enable Sway lock on startup
|
||||
wayland.windowManager.sway.config.startup = [
|
||||
{command = "swaylock";}
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue