My minimalist drop down bar #1226
Replies: 3 comments 1 reply
-
|
Very clean, thanks for sharing |
Beta Was this translation helpful? Give feedback.
-
|
can you share the dotfiles, thank you |
Beta Was this translation helpful? Give feedback.
-
|
I've been using it for a while but it's still a work in progress and it's the last git version of ironbar with GTK4 so there's still some little issues, mostly with the autohide. I'm sure there's better way to achieve this and to match the hint_bar size to the main_bar than manually setting it up the in the style.css. I can't attach the config.corn in a message so here it is: config.cornstyle.css@define-color color_bg #2e3440;
@define-color color_bg_dark #81a1c1;
@define-color color_border #bbbbbb;
@define-color color_border_active #bbbbbb;
@define-color color_text #D8DEE9;
@define-color color_urgent #8f0a0a;
/* -- base and bars styles -- */
* {
font-family: Fira Code Medium;
font-size: 18px;
border: none;
border-radius: 0;
}
#hint_bar {
border-radius: 0px 0px 12px 12px;
border-left: 3px solid @color_border;
border-right: 3px solid @color_border;
border-bottom: 3px solid @color_border;
}
#hint_label {
/** -- Adjust min-weight to match the main bar width and the font-size for the height of the hint bar -- */
min-width: 585px;
font-size: 4px;
}
#main_bar {
border-radius: 0px 0px 12px 12px;
border-left: 3px solid @color_border;
border-right: 3px solid @color_border;
border-bottom: 3px solid @color_border;
}
box, menubar, button {
background-color: @color_bg;
background-image: none;
box-shadow: none;
}
button, label {
color: @color_text;
}
popover contents {
background-color: @color_bg;
font-size: 18px;
border-radius: 12px;
border: 3px solid @color_border;
}
/* -- Apps menu -- */
#app_menu label {
font-size: 32px;
margin-left: 12px;
margin-right: 10px;
}
#app_menu .popup-menu .main-start button box label {
font-size: 18px;
}
#app_menu .popup-menu .main-start button:hover {
background-color: @color_text;
border-radius: 12px;
}
#app_menu .popup-menu .main-start button:hover > box {
background-color: @color_text;
}
#app_menu .popup-menu .main-start button:hover > box box {
background-color: @color_text;
}
#app_menu .popup-menu .main-start button:hover > box label {
color: #000000;
}
/* -- clock and calendar -- */
.clock {
margin-left: 14px;
margin-right: -7px;
}
.popup-menu label {
font-size: 18px;
}
.popup-clock .calendar {
background-color: @color_bg;
}
.popup-clock .calendar-clock {
font-size: 0px;
}
/* -- Volume -- */
.volume {
min-width: 70px;
}
/* -- Language -- */
#niri_language {
min-width: 40px;
margin-left: -8px;
}
/* -- Tray -- */
#tray_popup {
min-width: 34px;
min-height: 32px;
}
/* -- Power menu -- */
#power_menu label {
font-size: 32px;
margin-right: 5px;
}
#power_menu button box label {
font-size: 18px;
}
#power_popup {
padding-left: 5px;
min-width: 280px;
}
#buttons {
padding-left: 27px;
}
.power_btn label {
padding-left: 5px;
}
.power_btn:hover {
background-color: @color_text;
border-radius: 12px;
}
.power_btn:hover > label {
color: #000000;
}
tooltip {
background-color: @color_bg;
border-radius: 12px;
padding: 5px;
border: 1px solid @color_border;
}
tooltip label {
font-size: 18px;
padding-left: 5px;
} |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I was using a vertical bar since a long time with sway then with niri but I was trying to find a way to have a simple bar that hide for a minimalist look. It's still a work in progress but I like it so far.
Beta Was this translation helpful? Give feedback.
All reactions