diff --git a/.config/ambit/config.ambit b/.config/ambit/config.ambit index 60f83c3..8f58671 100644 --- a/.config/ambit/config.ambit +++ b/.config/ambit/config.ambit @@ -22,6 +22,7 @@ scripts/[ battery, bluetooth, + bluetoothpanel, boolflip, brightness, brightnesslabel, diff --git a/.config/eww/eww.yuck b/.config/eww/eww.yuck index 93ecbee..ed58738 100644 --- a/.config/eww/eww.yuck +++ b/.config/eww/eww.yuck @@ -131,10 +131,11 @@ (literal :content {wifi_label}))) (defwidget bluetooth [] - (icon-module :class "bluetooth" - :icon "ᛒ" - :visible true - (literal :content {bluetooth_label}))) + (button :onclick "scripts/bluetoothpanel" + (icon-module :class "bluetooth" + :icon "ᛒ" + :visible true + (literal :content {bluetooth_label})))) ;; A widget for tracking brightness (defwidget brightness [] diff --git a/.config/eww/scripts/bluetoothpanel b/.config/eww/scripts/bluetoothpanel new file mode 100755 index 0000000..4a88de9 --- /dev/null +++ b/.config/eww/scripts/bluetoothpanel @@ -0,0 +1,3 @@ +#!/usr/bin/env bash + +rofi-bluetooth