From 3374dde006272d0c34c4e814f8a4f51ecbd5735e Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Sat, 30 Mar 2024 12:28:55 -0400 Subject: [PATCH] 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. --- home/ironbar.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/home/ironbar.nix b/home/ironbar.nix index 90c756e1..399b2099 100644 --- a/home/ironbar.nix +++ b/home/ironbar.nix @@ -55,6 +55,12 @@ { "type": "clock", "format": "%x(%a)%R" + }, + { + "name": "overview", + "type": "label", + "label": "🅰", + "on_mouse_enter": "hyprctl dispatch hycov:toggleoverview" } ] } @@ -146,5 +152,10 @@ padding-left: 1em; padding-right: 0.5em; } + + #overview { + padding-left: 0.5em; + padding-right: 1em; + } ''; }