diff options
| author | Robert Günzler <r@gnzler.io> | 2020-02-13 02:01:45 +0100 |
|---|---|---|
| committer | Robert Günzler <r@gnzler.io> | 2020-02-13 02:01:45 +0100 |
| commit | 083a81135dfe49b85168c6755db0f14bf68feb75 (patch) | |
| tree | e35c7b7dfbe344a4a5d46130d5270c8d9b469be6 /.config/sway | |
| parent | 643d1884295f0d439ba5a6bae2b9dca33fe4d4fb (diff) | |
sway: Add switch bind when closing lid
Diffstat (limited to '.config/sway')
| -rw-r--r-- | .config/sway/hibiki | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.config/sway/hibiki b/.config/sway/hibiki index 24858c2..1ad389f 100644 --- a/.config/sway/hibiki +++ b/.config/sway/hibiki @@ -38,3 +38,6 @@ exec swayidle \ resume 'sway output * dpms on' \ timeout 800 suspend \ before-sleep lock + +bindswitch --locked lid:on output $laptop disable; exec notify-send clamshell-mode enabled +bindswitch --locked lid:off output $laptop enable; exec notify-send clamshell-mode disabled |