mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-25 01:33:17 +01:00
ironbar: Add overview button for hycov
Note that on_mouse_enter is used instead of on_click_left to avoid an issue where the focus of hycov is lost after clicking on the bar.
This commit is contained in:
parent
251581d3a8
commit
3374dde006
@ -55,6 +55,12 @@
|
|||||||
{
|
{
|
||||||
"type": "clock",
|
"type": "clock",
|
||||||
"format": "%x(%a)%R"
|
"format": "%x(%a)%R"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "overview",
|
||||||
|
"type": "label",
|
||||||
|
"label": "🅰",
|
||||||
|
"on_mouse_enter": "hyprctl dispatch hycov:toggleoverview"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@ -146,5 +152,10 @@
|
|||||||
padding-left: 1em;
|
padding-left: 1em;
|
||||||
padding-right: 0.5em;
|
padding-right: 0.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#overview {
|
||||||
|
padding-left: 0.5em;
|
||||||
|
padding-right: 1em;
|
||||||
|
}
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user