change icon for scratchpad in waybar
This commit is contained in:
parent
aa2747db07
commit
39ad7e6f7a
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@
|
||||||
"interval": 3,
|
"interval": 3,
|
||||||
"return-type": "json",
|
"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'",
|
"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": "exec swaymsg 'scratchpad show'",
|
||||||
"on-click-right": "exec swaymsg 'move scratchpad'"
|
"on-click-right": "exec swaymsg 'move scratchpad'"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue