Add sink settings to pulseaudio for polybar

This commit is contained in:
2019-04-04 12:36:10 +02:00
parent 6dfebedadf
commit 54901d2bd1
2 changed files with 19 additions and 13 deletions

View File

@@ -81,8 +81,7 @@ black = ${#000000}
modules-left = i3
modules-center = xwindow
# modules-right = unread_mail cpu battery temperature date
modules-right = date
modules-right = unread_mail cpu battery temperature date
tray-position = right
tray-padding = 2
@@ -93,7 +92,7 @@ black = ${#000000}
#cursor-scroll = ns-resize
#+END_SRC
* Bottom Bar
t Bottom Bar
#+BEGIN_SRC conf
[bar/bottom]
enable-ipc = true
@@ -123,11 +122,9 @@ black = ${#000000}
font-2 = Weather Icons:size=10;1
# font-3 = siji:pixelsize=10;1
modules-left =
# modules-left = mpd pulseaudio
modules-left = mpd pulseaudio
# modules-center = xwindow
# modules-right = filesystem xkeyboard nordvpn chromecast screenshot weather emacs caffeine redshift
modules-right =
modules-right = filesystem xkeyboard nordvpn chromecast screenshot weather emacs caffeine redshift
# tray-position = right
# tray-padding = 2
@@ -341,6 +338,8 @@ ramp-11 = 
[module/pulseaudio]
type = internal/pulseaudio
sink = alsa_output.pci-0000_00_1f.3.analog-stereo
# Open pavucontrol on left right
format-volume =%{A1:pavucontrol &:}<label-volume> <bar-volume>%{A}