desktop/niri: minimal waybar

Signed-off-by: unexplrd <unexplrd@linerds.us>
This commit is contained in:
2025-04-15 13:59:19 +03:00
parent d1878d8fe2
commit a9ab285559

View File

@ -642,10 +642,10 @@ in {
bar-0 = { bar-0 = {
# layer = "top"; # layer = "top";
position = "bottom"; position = "bottom";
height = 32; height = 24;
spacing = 4; spacing = 4;
margin-left = 63; # margin-left = 63;
margin-right = 63; # margin-right = 63;
reload_style_on_change = true; reload_style_on_change = true;
modules-left = [ modules-left = [
"niri/language" "niri/language"
@ -664,7 +664,7 @@ in {
"clock" "clock"
]; ];
"niri/workspaces" = { "niri/workspaces" = {
format = "{icon}"; format = "{index}";
format-icons = { format-icons = {
"1" = ""; "1" = "";
"2" = ""; "2" = "";
@ -721,7 +721,7 @@ in {
}; };
"clock" = { "clock" = {
interval = 1; interval = 1;
format = "{:%H:%M:%S}"; format = "{:%H:%M}";
tooltip-format = "{:%d.%m.%Y}"; tooltip-format = "{:%d.%m.%Y}";
}; };
battery = { battery = {
@ -837,7 +837,7 @@ in {
font-size: 100%; font-size: 100%;
} }
window#waybar { window#waybar {
background-color: transparent; background-color: @base00;
color: @base05; color: @base05;
transition-property: background-color; transition-property: background-color;
transition-duration: 0.5s; transition-duration: 0.5s;
@ -852,13 +852,13 @@ in {
.mpris.paused, .mpris.paused,
.modules-left, .modules-left,
.modules-right { .modules-right {
border-top-left-radius: 12px; /* border-top-left-radius: 12px;
border-top-right-radius: 12px; border-top-right-radius: 12px;
border-bottom-left-radius: 0px; border-bottom-left-radius: 0px;
border-bottom-right-radius: 0px; border-bottom-right-radius: 0px;
background-color: @base00; background-color: @base00;
color: @base05; color: @base05; */
padding: 0 0.5em; margin: 0 0.5em;
} }
tooltip { tooltip {
background: @base01; background: @base01;
@ -898,7 +898,7 @@ in {
#custom-notification, #custom-notification,
#power-profiles-daemon, #power-profiles-daemon,
#workspaces button { #workspaces button {
padding: 0 0.2em; padding: 0 0.3em;
} }
#taskbar button { #taskbar button {
padding: 0 0.1em; padding: 0 0.1em;