From 22a270eba9568af1394a46429f1a379200496cf9 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Mon, 1 Apr 2024 15:21:11 -0400 Subject: Break pulse volume code out of bar and into its own script In part so that it could easily be used in Emacs as well. Also rename pacify-pulseaudio to b-pacify (as in PAcify). --- .config/sway/config | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.config/sway/config') diff --git a/.config/sway/config b/.config/sway/config index 5e1334f..c251a25 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -155,7 +155,7 @@ bar { position bottom # status_command while date +'%a, %d %b %Y %T %z'; do sleep 1; done - status_command my-bar + status_command b-bar colors { statusline #ffffff @@ -191,7 +191,7 @@ for_window [app_id="firefox" title="Sharing Indicator"] \ exec mako >/tmp/mako.log 2>&1 exec dbus-update-activation-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK exec gsettings set 'org.gnome.desktop.interface' cursor-theme 'DMZ-White' -exec pacify-pulseaudio +exec b-pacify exec [ -x "$(command -v nm-applet)" ] && nm-applet include ~/.config/sway/"$(hostname)" -- cgit v1.2.3-60-g2f50