From 39ad7e6f7adf07595901700eb914048f9af25212 Mon Sep 17 00:00:00 2001 From: Morgan McMillian Date: Fri, 25 Feb 2022 06:16:02 -0800 Subject: [PATCH] change icon for scratchpad in waybar --- .config/waybar/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/waybar/config b/.config/waybar/config index 23da784..3b5624c 100644 --- a/.config/waybar/config +++ b/.config/waybar/config @@ -122,7 +122,7 @@ "interval": 3, "return-type": "json", "exec": "swaymsg -t get_tree | jq --unbuffered --compact-output '(recurse(.nodes[]) | select(.name == \"__i3_scratch\") | .focus) as $scratch_ids | [.. | (.nodes? + .floating_nodes?) // empty | .[] | select(.id |IN($scratch_ids[]))] as $scratch_nodes | if ($scratch_nodes|length) > 0 then { text: \"\\($scratch_nodes | length)\", tooltip: $scratch_nodes | map(\"\\(.app_id // .window_properties.class) (\\(.id)): \\(.name)\") | join(\"\\n\") } else empty end'", - "format": "{} 🗗", + "format": "{} 📎", "on-click": "exec swaymsg 'scratchpad show'", "on-click-right": "exec swaymsg 'move scratchpad'" },