mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-02-26 14:42:27 +01:00
ironbar: Style start menu based on id
Makes it possible to use padding on the label instead of the bar.
This commit is contained in:
parent
74db7848f3
commit
0f30e0fdb9
@ -10,6 +10,7 @@
|
|||||||
|
|
||||||
"start": [
|
"start": [
|
||||||
{
|
{
|
||||||
|
"name": "startMenu",
|
||||||
"type": "label",
|
"type": "label",
|
||||||
"label": "❄",
|
"label": "❄",
|
||||||
"on_mouse_enter": "rofi -show drun"
|
"on_mouse_enter": "rofi -show drun"
|
||||||
@ -82,7 +83,6 @@
|
|||||||
|
|
||||||
#bar {
|
#bar {
|
||||||
border-top: 1px solid #${base01};
|
border-top: 1px solid #${base01};
|
||||||
padding-left: 0.5em;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.label, .script, .tray {
|
.label, .script, .tray {
|
||||||
@ -141,5 +141,10 @@
|
|||||||
.popup-launcher .popup-item:not(:first-child) {
|
.popup-launcher .popup-item:not(:first-child) {
|
||||||
border-top: 1px solid #${base01};
|
border-top: 1px solid #${base01};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#startMenu {
|
||||||
|
padding-left: 1em;
|
||||||
|
padding-right: 0.5em;
|
||||||
|
}
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user