talos: home: handle lid switch in sway
This commit is contained in:
parent
659aed60d7
commit
a812afaf4a
|
@ -109,6 +109,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…
Reference in a new issue