diff --git a/dotfiles/polybar.org b/dotfiles/polybar.org index 17c3f2e..2bd5692 100644 --- a/dotfiles/polybar.org +++ b/dotfiles/polybar.org @@ -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 &:} %{A} diff --git a/readme.org b/readme.org index 10316ff..0c0cf9a 100644 --- a/readme.org +++ b/readme.org @@ -553,10 +553,19 @@ gui: https://christian.amsuess.com/tools/arandr/ ** TODO cscreen script +* Sound Setup +#+begin_src bash + yay -S pulseaudio pavucontrol +#+end_src * Music Setup ** Sound Server - Pulse Audio https://wiki.archlinux.org/index.php/PulseAudio +Install +#+begin_src bash + yay -S pulseaudio pulseaudio-alsa pulseaudio-bluetooth +#+end_src + If sound is not working, should run =pulseaudio --kill= to kill the deamon and then =pulseaudio --daemonize= to run it again. https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Running/ @@ -566,13 +575,13 @@ https://wiki.archlinux.org/index.php/Music_Player_Daemon *** Installation #+BEGIN_SRC bash -yay -S mpd + yay -S mpd #+END_SRC *** Automatic Startup #+BEGIN_SRC bash -systemctl start --user mpd.service -systemctl enable --user mpd.service + systemctl start --user mpd.service + systemctl enable --user mpd.service #+END_SRC *** Command line interface to MPD - MPC @@ -611,7 +620,7 @@ https://github.com/beetbox/beets *** Installation #+BEGIN_SRC bash -yay -S beets + yay -S beets #+END_SRC *** Configuration @@ -1768,8 +1777,6 @@ https://wiki.archlinux.org/index.php/NordVPN | =nordvpn status= | | | =nordvpn countries= | | -*** TODO Integration with Polybar - ** TODO Maybe use NordVPM with openVPN Instead? https://github.com/nstinus/nordvpn https://github.com/jotyGill/openpyn-nordvpn