2023-07-04 13:25:08 +02:00
|
|
|
|
{
|
|
|
|
|
xdg.configFile."ironbar/config.json".text = /* json */ ''
|
|
|
|
|
{
|
|
|
|
|
"icon_theme": "Fluent-dark",
|
|
|
|
|
"position": "bottom",
|
|
|
|
|
"anchor_to_edges": true,
|
|
|
|
|
|
2023-07-04 19:31:19 +02:00
|
|
|
|
"start": [
|
|
|
|
|
{
|
|
|
|
|
"type": "clipboard",
|
|
|
|
|
"max_items": 3,
|
|
|
|
|
"truncate": {
|
|
|
|
|
"length": 50,
|
|
|
|
|
"mode": "end"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
|
2023-07-04 13:25:08 +02:00
|
|
|
|
"center": [
|
|
|
|
|
{
|
|
|
|
|
"show_icons": true,
|
|
|
|
|
"type": "launcher",
|
|
|
|
|
"favorites": [
|
|
|
|
|
"librewolf",
|
|
|
|
|
"kitty",
|
|
|
|
|
"thunar",
|
|
|
|
|
"osu!",
|
|
|
|
|
"qutebrowser"
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
"end": [
|
|
|
|
|
{
|
|
|
|
|
"type": "clock",
|
|
|
|
|
"format": "%x(%a)%R"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
'';
|
|
|
|
|
|
|
|
|
|
xdg.configFile."ironbar/style.css".text = /* css */ ''
|
|
|
|
|
@define-color color_bg #272822;
|
|
|
|
|
@define-color color_bg_dark #383838;
|
|
|
|
|
@define-color color_border #383838;
|
|
|
|
|
@define-color color_border_active #fd971f;
|
|
|
|
|
@define-color color_text #ffffff;
|
|
|
|
|
@define-color color_urgent #8f0a0a;
|
|
|
|
|
|
|
|
|
|
* {
|
|
|
|
|
font-family: "Noto Sans CJK JP", "Font Awesome 6 Free Solid";
|
|
|
|
|
font-size: 16px;
|
|
|
|
|
border: none;
|
|
|
|
|
border-radius: 0;
|
|
|
|
|
outline: none;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
background: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.background {
|
|
|
|
|
background: alpha(@color_bg, 0.95);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
button, label {
|
|
|
|
|
color: @color_text;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
button:hover {
|
|
|
|
|
background: @color_bg_dark;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#bar {
|
|
|
|
|
border-top: 1px solid @color_border;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.popup {
|
|
|
|
|
border: 1px solid @color_border;
|
|
|
|
|
padding: 1em;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.popup-clipboard .item {
|
|
|
|
|
padding-bottom: 0.3em;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.popup-clock .calendar-clock {
|
|
|
|
|
color: @color_text;
|
|
|
|
|
font-family: "Maple Mono";
|
|
|
|
|
font-size: 2.5em;
|
|
|
|
|
padding-bottom: 0.1em;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.popup-clock .calendar {
|
|
|
|
|
color: @color_text;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.popup-clock .calendar .header {
|
|
|
|
|
padding-top: 1em;
|
|
|
|
|
border-top: 1px solid @color_border;
|
|
|
|
|
font-size: 1.5em;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.launcher .item {
|
2023-07-04 18:04:41 +02:00
|
|
|
|
padding-left: 1em;
|
|
|
|
|
padding-right: 1em;
|
2023-07-04 13:25:08 +02:00
|
|
|
|
margin-right: 4px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.launcher .open {
|
2023-07-04 13:58:09 +02:00
|
|
|
|
box-shadow: inset 0 -2px;
|
2023-07-04 13:25:08 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.launcher .focused {
|
2023-07-04 13:58:09 +02:00
|
|
|
|
box-shadow: inset 0 -2px @color_border_active;
|
2023-07-04 13:25:08 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.launcher .urgent {
|
|
|
|
|
border-bottom: @color_urgent;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.popup-launcher {
|
|
|
|
|
padding: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.popup-launcher .popup-item:not(:first-child) {
|
|
|
|
|
border-top: 1px solid @color_border;
|
|
|
|
|
}
|
|
|
|
|
'';
|
|
|
|
|
}
|