Update stylix scheme and refactor Hyprland configuration with new waybar setup
This commit is contained in:
43
environments/waybar-style.nix
Normal file
43
environments/waybar-style.nix
Normal file
@@ -0,0 +1,43 @@
|
||||
{
|
||||
config,
|
||||
...
|
||||
}:
|
||||
let
|
||||
inherit (config.lib.stylix) colors;
|
||||
in
|
||||
''
|
||||
* {
|
||||
border: none;
|
||||
font-family: "${config.stylix.fonts.monospace.name}";
|
||||
font-size: ${toString config.stylix.fonts.sizes.desktop}pt;
|
||||
color: #${colors.base04};
|
||||
}
|
||||
window#waybar {
|
||||
background: #${colors.base00};
|
||||
min-height: 20px;
|
||||
}
|
||||
.module {
|
||||
background: #${colors.base00};
|
||||
margin: 0px 5px 0px 5px;
|
||||
padding: 8px 8px 8px 8px;
|
||||
}
|
||||
#workspaces button {
|
||||
padding: 2px 8px;
|
||||
margin: 2px;
|
||||
border-radius: 8px;
|
||||
background: transparent;
|
||||
color: #${colors.base03};
|
||||
border: none;
|
||||
min-width: 20px;
|
||||
}
|
||||
|
||||
#workspaces button.active {
|
||||
background: #${colors.base02};
|
||||
color: #${colors.base05};
|
||||
}
|
||||
|
||||
#workspaces button:hover {
|
||||
background: #${colors.base01};
|
||||
color: #${colors.base04};
|
||||
}
|
||||
''
|
||||
Reference in New Issue
Block a user