talos: home: handle lid switch in sway
This commit is contained in:
parent
4a4e9cc30f
commit
76b89f8ea8
1 changed files with 5 additions and 0 deletions
|
|
@ -106,6 +106,11 @@ in {
|
||||||
{command = "swayidle -w idlehint 1 before-sleep \"${lock}\"";}
|
{command = "swayidle -w idlehint 1 before-sleep \"${lock}\"";}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
extraConfig = ''
|
||||||
|
bindswitch --reload --locked lid:off output eDP-1 enable;
|
||||||
|
bindswitch --reload --locked lid:on output eDP-1 disable;
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
programs = {
|
programs = {
|
||||||
fuzzel.enable = true;
|
fuzzel.enable = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue