From e72f3c72ee5dc41136653f95252dcf7168390b6d Mon Sep 17 00:00:00 2001 From: Barrett Ruth Date: Fri, 6 Mar 2026 15:44:19 -0500 Subject: [PATCH] feat(waybar): improve hovers --- home/modules/packages.nix | 2 +- home/modules/ui.nix | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/home/modules/packages.nix b/home/modules/packages.nix index a883b23..cb35847 100644 --- a/home/modules/packages.nix +++ b/home/modules/packages.nix @@ -163,7 +163,7 @@ in font_size 18 status_bar_font_size 18 - inverse_search_command nvim --server /tmp/nvim-preview.sock --remote-expr "execute('b +%2 %1')" + inverse_search_command nvim --server /tmp/nvim-preview.sock --remote-expr "execute('b +%2 %1 | normal! zz')" ''; }; diff --git a/home/modules/ui.nix b/home/modules/ui.nix index 0fb4594..c103fe3 100644 --- a/home/modules/ui.nix +++ b/home/modules/ui.nix @@ -171,7 +171,7 @@ in on-click-right = "ctl audio sink"; on-click-middle = "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"; tooltip = true; - tooltip-format = "{volume}%"; + tooltip-format = "Audio Sink: {node_name}\nVolume: {volume}%"; }; "wireplumber#source" = { @@ -196,7 +196,7 @@ in on-click-right = "ctl audio source"; on-click-middle = "wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle"; tooltip = true; - tooltip-format = "{volume}%"; + tooltip-format = "Audio Source: {node_name}\nVolume: {volume}%"; }; network = {