trying filechooser nonsense again
This commit is contained in:
parent
e113d9775d
commit
3efe104240
7 changed files with 155 additions and 39 deletions
|
@ -2,13 +2,18 @@
|
|||
{
|
||||
services.swayidle = {
|
||||
enable = true;
|
||||
|
||||
systemdTarget = "graphical-session.target";
|
||||
extraArgs = [ "-w" ];
|
||||
events = [
|
||||
{
|
||||
event = "lock";
|
||||
command = "/home/emenel/.local/bin/session-lock";
|
||||
}
|
||||
{
|
||||
event = "before-sleep";
|
||||
command = "${pkgs.systemd}/bin/loginctl lock-session";
|
||||
|
||||
}
|
||||
{
|
||||
event = "after-resume";
|
||||
command = "/home/emenel/.local/bin/on-unlock";
|
||||
|
@ -19,6 +24,7 @@
|
|||
{
|
||||
timeout = 60;
|
||||
command = "/home/emenel/.local/bin/dim-all-monitors";
|
||||
resumeCommand = "/home/emenel/.local/bin/on-unlock";
|
||||
}
|
||||
|
||||
# battery timers
|
||||
|
@ -61,7 +67,7 @@
|
|||
color = "000000";
|
||||
font-size = 32;
|
||||
indicator-idle-visible = true;
|
||||
indicator-radius = 250;
|
||||
indicator-radius = 150;
|
||||
line-color = "cccccc";
|
||||
show-failed-attempts = true;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue