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/[
|
scripts/[
|
||||||
battery,
|
battery,
|
||||||
bluetooth,
|
bluetooth,
|
||||||
|
bluetoothpanel,
|
||||||
boolflip,
|
boolflip,
|
||||||
brightness,
|
brightness,
|
||||||
brightnesslabel,
|
brightnesslabel,
|
||||||
|
|
|
@ -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 []
|
||||||
|
|
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