From 8fe2ef669140a77c6afb1e9d5e517784bc20c275 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Tue, 4 May 2021 01:27:35 +0200 Subject: [PATCH] home: i3: add music block to bar --- home/x/i3bar.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/home/x/i3bar.nix b/home/x/i3bar.nix index a9c4b65..75997fb 100644 --- a/home/x/i3bar.nix +++ b/home/x/i3bar.nix @@ -69,6 +69,12 @@ in # TODO: use format when i3status-rust updates to v0.20 # format = "{percentage}"; } + { + block = "music"; + player = "spotify"; + buttons = ["prev" "play" "next"]; + hide_when_empty = true; + } { block = "sound"; driver = "pulseaudio";