From 981590ab78e1b723ff9ffdf74d50762647caae54 Mon Sep 17 00:00:00 2001 From: Thomas Dehaeze Date: Thu, 30 Apr 2020 21:57:54 +0200 Subject: [PATCH] Add loopback module --- dotfiles/polybar.org | 52 +++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 51 insertions(+), 1 deletion(-) diff --git a/dotfiles/polybar.org b/dotfiles/polybar.org index 8888ea7..d48cd02 100644 --- a/dotfiles/polybar.org +++ b/dotfiles/polybar.org @@ -80,7 +80,7 @@ modules-left = i3 bspwm xwindow modules-center = - modules-right = pulseaudio wired-network wireless-network wireguard nordvpn redshift lockscreen dunst packages unread_news unread_mail temperature battery date + modules-right = pulseaudio wired-network wireless-network wireguard nordvpn loopback redshift lockscreen dunst packages unread_news unread_mail temperature battery date wm-restack = i3 @@ -795,6 +795,56 @@ fi #+end_src +* Microphone loopback +#+BEGIN_SRC conf + [module/loopback] + type = custom/script + + format-underline = ${colors.bg} + click-left = ~/.config/polybar/scripts/loopback-toggle.sh >/dev/null 2>%1 & + format =