feat: display current title in waybar; other visual adjustments

This commit is contained in:
EinEtwas 2024-10-15 14:33:50 +02:00
parent 5b60fa3cc8
commit 176a8844f9
2 changed files with 15 additions and 7 deletions

View file

@ -16,7 +16,7 @@
]; ];
modules-left = ["hyprland/workspaces" "hyprland/mode"]; modules-left = ["hyprland/workspaces" "hyprland/mode"];
modules-center = []; modules-center = [ "hyprland/window" ];
modules-right = ["pulseaudio" "backlight" "network" "battery" "clock" "tray"]; modules-right = ["pulseaudio" "backlight" "network" "battery" "clock" "tray"];

View file

@ -43,7 +43,8 @@
border-radius: 0; border-radius: 0;
min-height: 0; min-height: 0;
margin: 0; margin: 0;
padding: 0; padding-left: 3px;
padding-right: 3px;
} }
/* The whole bar */ /* The whole bar */
@ -51,7 +52,7 @@
background: #323232; background: #323232;
color: white; color: white;
font-family: Cantarell, Noto Sans, sans-serif; font-family: Cantarell, Noto Sans, sans-serif;
font-size: 13px; font-size: 12px;
} }
/* Each module */ /* Each module */
@ -166,17 +167,24 @@
} }
#tray { #tray {
/* No styles */ padding-left: 0px;
}
#tray * {
border-top: 3px solid transparent;
padding-left: 1px;
padding-right: 1px;
} }
#window { #window {
font-weight: bold; font-family: Cantarell, Noto Sans, sans-serif;
font-size: 12px;
} }
#workspaces button { #workspaces button {
border-top: 2px solid transparent; border-top: 3px solid transparent;
/* To compensate for the top border and still have vertical centering */ /* To compensate for the top border and still have vertical centering */
padding-bottom: 2px; padding-bottom: 3px;
padding-left: 3px; padding-left: 3px;
padding-right: 3px; padding-right: 3px;
color: #888888; color: #888888;