aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/dot_config/sway/config
diff options
context:
space:
mode:
authorLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-05-13 13:43:28 +0100
committerLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-05-13 13:43:28 +0100
commit815d341df9ea5f11d121c96505a9a9e4e887056a (patch)
tree9f81cb1a438d07334af4278b2c3a40e13effca0b /dot_config/sway/config
parent17d039286fe439390b938616d8b00b464d16ccce (diff)
downloaddotfiles-815d341df9ea5f11d121c96505a9a9e4e887056a.tar.gz
dotfiles-815d341df9ea5f11d121c96505a9a9e4e887056a.tar.bz2
dotfiles-815d341df9ea5f11d121c96505a9a9e4e887056a.zip
feat(waybar+sway): bluetooth module + unify wifi/bt toggle paths
- systemd-units/system/bt.txt: new file pairing the meta/bt.txt group; enables bluetooth.service via 'just unit-apply' - waybar: add the built-in bluetooth module; on-click runs the same bt-toggle.sh that XF86Bluetooth has always invoked. Status colors: blue when adapter is up, green when a device is connected, gray off - sway: XF86WLAN now runs wifi-toggle.sh (iwd D-Bus) instead of 'rfkill toggle wifi'. The latter required rfkill group membership (user is in wheel only), and aligning on the busctl path means the keybind and the waybar click drive the same code XF86RFKill (panic-disable all radios) keeps using 'rfkill toggle all' — that scope is genuinely rfkill-shaped.
Diffstat (limited to 'dot_config/sway/config')
-rw-r--r--dot_config/sway/config2
1 files changed, 1 insertions, 1 deletions
diff --git a/dot_config/sway/config b/dot_config/sway/config
index d9958de..6d96909 100644
--- a/dot_config/sway/config
+++ b/dot_config/sway/config
@@ -150,7 +150,7 @@ bindsym XF86AudioMicMute exec pactl set-source-mute @DEFAULT_SOURCE@ toggle
bindsym XF86Bluetooth exec ~/.config/sway/bt-toggle.sh
bindsym XF86ScreenSaver exec "playerctl -a pause; swaylock -f -e -c 282828"
bindsym XF86Sleep exec systemctl suspend
-bindsym XF86WLAN exec rfkill toggle wifi
+bindsym XF86WLAN exec ~/.config/waybar/wifi-toggle.sh
bindsym XF86RFKill exec rfkill toggle all
# Screenshots