From 7f5772cfe1f8322638935f73fc779c110b26a987 Mon Sep 17 00:00:00 2001 From: wzykubek Date: Sun, 24 Nov 2024 10:31:07 +0100 Subject: [PATCH] Update ssh config Add MPRIS module to waybar --- git/.gitconfig | 2 +- ssh/.ssh/config | 7 ++++--- waybar/.config/waybar/config.jsonc | 5 +++++ waybar/.config/waybar/style.css | 5 +++++ 4 files changed, 15 insertions(+), 4 deletions(-) diff --git a/git/.gitconfig b/git/.gitconfig index 8174c03..3c88aa5 100644 --- a/git/.gitconfig +++ b/git/.gitconfig @@ -1,7 +1,7 @@ [user] name = wzykubek email = wz-git@mailbox.org - signingkey = ~/.ssh/id_yubico1_sk + signingkey = ~/.ssh/id_ed25519_sk_rk [gpg] format = ssh [format] diff --git a/ssh/.ssh/config b/ssh/.ssh/config index ac1169b..f78ec7f 100644 --- a/ssh/.ssh/config +++ b/ssh/.ssh/config @@ -6,10 +6,11 @@ Host wyse HostName 192.168.1.5 User root -Host podman +Host alma HostName 192.168.1.10 - User root + User cloud + Port 2222 Host * - IdentityFile ~/.ssh/id_yubico1_sk + IdentityFile ~/.ssh/id_ed25519_sk_rk IdentitiesOnly yes diff --git a/waybar/.config/waybar/config.jsonc b/waybar/.config/waybar/config.jsonc index 36cabdb..190b39f 100644 --- a/waybar/.config/waybar/config.jsonc +++ b/waybar/.config/waybar/config.jsonc @@ -20,6 +20,7 @@ "modules-right": [ "tray", + "mpris", "pulseaudio", "network", "group/hardware", @@ -109,5 +110,9 @@ }, "on-click": "pwvucontrol" }, + "mpris": { + "format": "{title} - {artist} ", + "format-paused": "{title} - {artist} " + } } } diff --git a/waybar/.config/waybar/style.css b/waybar/.config/waybar/style.css index 351f7a1..e77bc25 100644 --- a/waybar/.config/waybar/style.css +++ b/waybar/.config/waybar/style.css @@ -39,6 +39,7 @@ tooltip { #clock, #workspaces, #window, +#mpris, #pulseaudio, #network, #tray, @@ -93,6 +94,10 @@ tooltip { color: @gold; } +#mpris { + color: @foam; +} + #pulseaudio { color: @iris; }