diff options
author | davidovski <david@davidovski.xyz> | 2023-12-12 23:10:12 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2023-12-12 23:10:12 +0000 |
commit | 7b3aa701e2de13cea1ea2e05c70cca2ced74971f (patch) | |
tree | a32d5aaacd8ef8dc91037843ee27930e5b5cb469 /config | |
parent | 6ed4306119355c5f6dbdca7565aa53829868ef8d (diff) |
fix toggle mute
Diffstat (limited to 'config')
-rw-r--r-- | config/polybar/config | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/config/polybar/config b/config/polybar/config index 18a7eae..6c370a6 100644 --- a/config/polybar/config +++ b/config/polybar/config @@ -40,14 +40,14 @@ modules-right = time [bar/ws] inherit = bar/base -width = 1870 +width = 2510 offset-x = 25 offset-y = 10 modules-left = workspaces xwindow modules-right = mpd temperature memory network battery pulseaudio microphone time tray-position = right background = ${color.bga} -border-size = 2 +border-size = 0 border-color = ${color.fg3} fg = ${color.fg1} @@ -138,9 +138,9 @@ label-muted = "%{T3} %{T-}--%" [module/microphone] type = custom/script -exec = pactl list sources | grep -qi 'Mute: yes' && echo "" || echo "" +exec = amixer get Capture | tail -2 | grep -q off && && echo "" || echo "" interval = 1 -click-left = $HOME/.scripts/toggle-mic.sh +click-left = $HOME/.scripts/toggle-mute.sh [module/vpn] type = custom/script |