fix(eww): open rofi bluetooth on click
Signed-off-by: Lucas Sta Maria <lucas@priime.dev>
This commit is contained in:
parent
46334115b7
commit
7fb4d00fa2
3 changed files with 9 additions and 4 deletions
|
@ -22,6 +22,7 @@
|
|||
scripts/[
|
||||
battery,
|
||||
bluetooth,
|
||||
bluetoothpanel,
|
||||
boolflip,
|
||||
brightness,
|
||||
brightnesslabel,
|
||||
|
|
|
@ -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 []
|
||||
|
|
3
.config/eww/scripts/bluetoothpanel
Executable file
3
.config/eww/scripts/bluetoothpanel
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
rofi-bluetooth
|
Loading…
Add table
Add a link
Reference in a new issue