fmt
This commit is contained in:
parent
3ec9d3e06f
commit
13277d4991
3 changed files with 51 additions and 41 deletions
|
@ -1,3 +1,9 @@
|
|||
{ ... }: {
|
||||
imports = [ ./rofi ./waybar ./dunst.nix ./kanshi.nix ./swayidle.nix ];
|
||||
imports = [
|
||||
./rofi
|
||||
./waybar
|
||||
./dunst.nix
|
||||
./kanshi.nix
|
||||
./swayidle.nix
|
||||
];
|
||||
}
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{ ... }: {
|
||||
services.kanshi.enable = true;
|
||||
services.kanshi.profiles = {
|
||||
services.kanshi = {
|
||||
enable = true;
|
||||
profiles = {
|
||||
undocked = {
|
||||
outputs = [
|
||||
{
|
||||
|
@ -28,4 +29,5 @@
|
|||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,15 +1,17 @@
|
|||
{ pkgs, ... }: {
|
||||
services.swayidle.enable = true;
|
||||
services.swayidle.events = [
|
||||
services.swayidle = {
|
||||
enable = true;
|
||||
events = [
|
||||
{
|
||||
event = "before-sleep";
|
||||
command = "${pkgs.swaylock}/bin/swaylock -f -i /tmp/lockpaper.jpg";
|
||||
}
|
||||
];
|
||||
services.swayidle.timeouts = [
|
||||
timeouts = [
|
||||
{
|
||||
timeout = 600;
|
||||
command = "${pkgs.swaylock}/bin/swaylock -f -i /tmp/lockpaper.jpg";
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue