1
0
Fork 0

fix(eww): open rofi bluetooth on click

Signed-off-by: Lucas Sta Maria <lucas@priime.dev>
This commit is contained in:
Lucas Sta Maria 2024-01-28 23:57:45 -05:00
parent 46334115b7
commit 7fb4d00fa2
No known key found for this signature in database
GPG key ID: F07FB16A826E3B47
3 changed files with 9 additions and 4 deletions

View file

@ -22,6 +22,7 @@
scripts/[ scripts/[
battery, battery,
bluetooth, bluetooth,
bluetoothpanel,
boolflip, boolflip,
brightness, brightness,
brightnesslabel, brightnesslabel,

View file

@ -131,10 +131,11 @@
(literal :content {wifi_label}))) (literal :content {wifi_label})))
(defwidget bluetooth [] (defwidget bluetooth []
(button :onclick "scripts/bluetoothpanel"
(icon-module :class "bluetooth" (icon-module :class "bluetooth"
:icon "ᛒ" :icon "ᛒ"
:visible true :visible true
(literal :content {bluetooth_label}))) (literal :content {bluetooth_label}))))
;; A widget for tracking brightness ;; A widget for tracking brightness
(defwidget brightness [] (defwidget brightness []

View file

@ -0,0 +1,3 @@
#!/usr/bin/env bash
rofi-bluetooth