ironbar: Replace clipboard with start menu

Note that on_mouse_enter is used instead of on_click_left since there's
currently a bug where clicking anywhere on the bar will repeat the last
on_click_left event.
This commit is contained in:
Donovan Glover 2024-01-28 10:31:15 -05:00
parent e60ef84784
commit 455a9d65f0
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -10,12 +10,9 @@
"start": [ "start": [
{ {
"type": "clipboard", "type": "label",
"max_items": 3, "label": "",
"truncate": { "on_mouse_enter": "rofi -show drun"
"length": 50,
"mode": "end"
}
} }
], ],
@ -66,10 +63,6 @@
background: alpha(#${base00}, 0.925); background: alpha(#${base00}, 0.925);
} }
.clipboard {
padding-right: 1em;
}
button:hover { button:hover {
background: #${base01}; background: #${base01};
} }
@ -88,10 +81,6 @@
padding: 1em; padding: 1em;
} }
.popup-clipboard .item {
padding-bottom: 0.3em;
}
.popup-clock .calendar-clock { .popup-clock .calendar-clock {
font-family: "Maple Mono"; font-family: "Maple Mono";
font-size: 2.5em; font-size: 2.5em;