Work on desktop setup some more

This commit is contained in:
2025-11-28 22:04:03 -08:00
parent 546ac9c306
commit 0cbff84080
2 changed files with 15 additions and 21 deletions

View File

@ -3,17 +3,5 @@
"${HOME}/scripts/set-initial-kanshi-state"
acpi_listen | while read event; do
let num_outputs="$(wlr-randr --json | jq 'length')"
if ((num_outputs <= 1)); then
kanshictl switch default
else
case "${event}" in
'button/lid LID open')
kanshictl switch docked-open
;;
'button/lid LID close')
kanshictl switch docked-closed
;;
esac
fi
"${HOME}/scripts/set-initial-kanshi-state"
done