aboutsummaryrefslogtreecommitdiff
path: root/scripts/testing/archsetup-test.conf
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-21 17:48:47 -0400
committerCraig Jennings <c@cjennings.net>2026-05-21 17:48:47 -0400
commit09f4d205fe463faf676f95e798d08e8bf498be96 (patch)
treeac60b2aa4d8350d5ab3c0e6f76361daf70d1d702 /scripts/testing/archsetup-test.conf
parenteee30be993c6ff79a5e7fa5f37d6ba368dc0c3d9 (diff)
downloadarchsetup-09f4d205fe463faf676f95e798d08e8bf498be96.tar.gz
archsetup-09f4d205fe463faf676f95e798d08e8bf498be96.zip
feat(hyprland): add airplane-mode waybar toggle
I added a laptop-only waybar button that drops the machine into a low-power state and restores it on a second click. Engaging turns wifi off, sets the CPU energy-performance preference to power, dims the backlight to 35%, and stops network-only services (tailscale, proton-vpn, avahi, cups, wsdd, geoclue, sshd, fail2ban, syncthing). Bluetooth is left alone so earbuds keep working. Disengaging replays the state recorded when airplane mode was engaged rather than writing hardcoded defaults. A lever already in its low-power position is left untouched: wifi that was already off stays off, and a service that was already stopped isn't restarted. The indicator hides itself on machines with no battery, so desktops never show the button. State lives in $XDG_RUNTIME_DIR/airplane-state, and the bar refreshes the moment the toggle fires via a realtime signal.
Diffstat (limited to 'scripts/testing/archsetup-test.conf')
0 files changed, 0 insertions, 0 deletions