From 9994bd27fbbf3204eb5b0cc481e8a93f3c6cb65623acca918e0a8cd61aef3eaa Mon Sep 17 00:00:00 2001 From: Mikkel Harboe Arp Henriksen Date: Wed, 18 Jun 2025 18:13:12 +0200 Subject: [PATCH] =?UTF-8?q?lyd=20ops=C3=A6tning=20i=20waybar=20og=20instal?= =?UTF-8?q?lation=20af=20pipewire?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- local.yml | 6 ++++++ templates/waybar-config.j2 | 13 ++++++------- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/local.yml b/local.yml index 91c5355..4ff16d3 100644 --- a/local.yml +++ b/local.yml @@ -79,6 +79,12 @@ - gvfs - ranger - less + - pavucontrol + - pipewire + - pipewire-pulse + - pipewire-audio + - pipewire-alsa + - wireplumber - ufw # Firewall state: present diff --git a/templates/waybar-config.j2 b/templates/waybar-config.j2 index 4cc2fa1..b68b1d7 100644 --- a/templates/waybar-config.j2 +++ b/templates/waybar-config.j2 @@ -18,7 +18,7 @@ // Moduler placeret til højre "modules-right": [ - "pulseaudio", + "pipewire", "network", "battery", "tray" @@ -48,13 +48,12 @@ "format-alt": " {:%d/%m-%Y}" }, - "pulseaudio": { + "pipewire": { "format": "{volume}% {icon}", - "format-muted": " Muted", - "format-icons": { - "default": ["", ""] - }, - "on-click": "pavucontrol" + "format-muted": "󰖁 Muted", + "format-icons": ["", "", ""], + "on-click": "pavucontrol", + "tooltip": false }, "network": {