style(tazjin/dotfiles): more authentic win95 waybar styling
Brings this a LOT closer to the Windows95 style theming that I'm trying to achieve with the whole thing. Change-Id: Ifb457a682cb83a78e4a8e2ba2bb4a5b96f3eaf1f Reviewed-on: https://cl.tvl.fyi/c/depot/+/12525 Tested-by: BuildkiteCI Autosubmit: tazjin <tazjin@tvl.su> Reviewed-by: tazjin <tazjin@tvl.su>
This commit is contained in:
parent
d0344a0e27
commit
ed2bd88850
3 changed files with 154 additions and 74 deletions
|
|
@ -1,8 +1,22 @@
|
|||
args: {
|
||||
{ depot, pkgs, ... }@args:
|
||||
|
||||
rec {
|
||||
dunstrc = ./dunstrc;
|
||||
niri = ./niri.config.kdl;
|
||||
waybar = {
|
||||
config = import ./waybar/config.nix args;
|
||||
style = ./waybar/style.css;
|
||||
style = pkgs.runCommandNoCC "waybar-style.css"
|
||||
{
|
||||
CHICAGO95 = depot.third_party.chicago95;
|
||||
} ''
|
||||
cat ${./waybar/style.css} | ${pkgs.envsubst}/bin/envsubst > $out
|
||||
'';
|
||||
};
|
||||
|
||||
# Helper derivation for iterating on waybar config.
|
||||
waybarTest = pkgs.runCommandNoCC "waybar-conf" { } ''
|
||||
mkdir -p $out
|
||||
cat ${pkgs.writeText "waybar-conf.json" (builtins.toJSON(builtins.attrValues waybar.config))} > $out/config
|
||||
cp ${waybar.style} $out/style.css
|
||||
'';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue