mirror of
https://github.com/Fluffy-Bean/dots.git
synced 2025-05-30 07:13:11 +00:00
Polybar Mic button and cleaning up code
This commit is contained in:
parent
3b2fca577a
commit
54b578567c
7 changed files with 44 additions and 9 deletions
|
@ -26,6 +26,16 @@ label = "%time%"
|
|||
format-background = ${colors.modback}
|
||||
|
||||
|
||||
;;_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
|
||||
;; WEATHER
|
||||
;;_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
|
||||
[module/weather]
|
||||
type = custom/script
|
||||
exec = ~/.config/polybar/scripts/weather-plugin.sh
|
||||
tail = false
|
||||
interval = 960
|
||||
|
||||
|
||||
;;_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
|
||||
;; SPOTIFY
|
||||
;;_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
|
||||
|
@ -54,7 +64,7 @@ format-background = ${colors.modback}
|
|||
;format-padding = 1
|
||||
|
||||
exec = bash ~/.config/polybar/scripts/dnd.sh
|
||||
click-left = exec bash ~/.config/polybar/scripts/toggle_dnd.sh
|
||||
click-left = bash ~/.config/polybar/scripts/toggle_dnd.sh
|
||||
|
||||
|
||||
;;_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
|
||||
|
@ -70,7 +80,7 @@ format-background = ${colors.modback}
|
|||
format = <label>
|
||||
label = %output%
|
||||
|
||||
exec = sh ~/.config/polybar/scripts/update_check.sh
|
||||
exec = bash ~/.config/polybar/scripts/update_check.sh
|
||||
|
||||
|
||||
;;_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
|
||||
|
@ -103,9 +113,21 @@ format-background = ${colors.modback}
|
|||
;format-padding = 1
|
||||
|
||||
exec = ~/.config/polybar/scripts/bluetooth.sh
|
||||
click-left = exec ~/.config/polybar/scripts/toggle_bluetooth.sh
|
||||
click-left = bash ~/.config/polybar/scripts/toggle_bluetooth.sh
|
||||
|
||||
|
||||
;;_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
|
||||
;; MIC
|
||||
;;_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
|
||||
[module/mic]
|
||||
type = custom/script
|
||||
interval = 1
|
||||
|
||||
format-background = ${colors.modback}
|
||||
|
||||
exec = ~/.config/polybar/scripts/mic.sh
|
||||
click-left = amixer set Capture toggle &
|
||||
|
||||
;;_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
|
||||
;; VOLUME
|
||||
;;_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
|
||||
|
@ -131,4 +153,5 @@ type = custom/script
|
|||
exec = echo " "
|
||||
format-background = ${colors.modback}
|
||||
format-prefix = " ☰"
|
||||
;format-prefix = " "
|
||||
click-left = bash ~/.config/polybar/scripts/powermenu.sh &
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue