Add right click for bluetooth => open manager
This commit is contained in:
parent
e02fa0dc0b
commit
423156f080
14
polybar.org
14
polybar.org
@ -836,19 +836,31 @@
|
||||
fi
|
||||
#+end_src
|
||||
|
||||
* Blueooth
|
||||
* Bluetooth
|
||||
#+BEGIN_SRC conf
|
||||
[module/bluetooth]
|
||||
type = custom/script
|
||||
|
||||
format-underline = ${colors.bg}
|
||||
click-left = ~/.config/polybar/scripts/bluetooth-toggle.sh >/dev/null 2>%1 &
|
||||
click-right = ~/.config/polybar/scripts/bluetooth-run.sh >/dev/null 2>%1 &
|
||||
format = <label>
|
||||
exec = ~/.config/polybar/scripts/bluetooth-status.sh
|
||||
|
||||
interval = 2
|
||||
#+END_SRC
|
||||
|
||||
** Bluetooth Run Manager
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.config/polybar/scripts/bluetooth-run.sh
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:header-args+: :shebang "#!/usr/bin/env bash"
|
||||
:END:
|
||||
|
||||
#+begin_src bash
|
||||
blueman-manager && pkill blueman-applet
|
||||
#+end_src
|
||||
|
||||
** Bluetooth Connection Status
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.config/polybar/scripts/bluetooth-status.sh
|
||||
|
Loading…
Reference in New Issue
Block a user