wayland: remove river config

This commit is contained in:
notohh 2023-11-15 05:47:22 -05:00
parent dedb09e45e
commit 03ffca4c7a
Signed by: notohh
GPG key ID: BD47506D475EE86D
3 changed files with 0 additions and 128 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 395 KiB

View file

@ -1,60 +0,0 @@
{
pkgs,
lib,
...
}: let
compileSCSS = name: source: "${pkgs.runCommandLocal name {} ''
mkdir -p $out
${lib.getExe pkgs.sassc} -t expanded '${source}' > $out/${name}.css
''}/${name}.css";
in {
programs.waybar = {
enable = true;
systemd.enable = true;
settings = {
bar = {
layer = "top";
position = "top";
height = 30;
modules-left = ["river/tags"];
modules-center = ["river/window"];
modules-right = ["cpu" "memory" "clock" "battery" "tray"];
};
"river/tags" = {
num-tags = 5;
tag-labels = ["" "" "" "" ""];
};
"river/window" = {
format = "{}";
};
"cpu" = {
interval = 10;
format = "{}%";
max-length = 10;
tooltip = false;
};
"memory" = {
interval = 10;
format = "{}%";
max-length = 10;
tooltip = false;
};
"battery" = {
format = "{capacity}%";
interval = 60;
tooltip = false;
};
"clock" = {
interval = 60;
format = "{:%H:%M}";
max-length = 25;
tooltip = false;
};
"tray" = {
icon-size = 21;
spacing = 5;
};
};
style = builtins.readFile (compileSCSS "style" ./style.scss);
};
}

View file

@ -1,68 +0,0 @@
$rosewater: #f5e0dc;
$flamingo: #f2cdcd;
$pink: #f5c2e7;
$mauve: #cba6f7;
$red: #f38ba8;
$maroon: #eba0ac;
$peach: #fab387;
$yellow: #f9e2af;
$green: #a6e3a1;
$teal: #94e2d5;
$sky: #89dceb;
$sapphire: #74c7ec;
$blue: #89b4fa;
$lavender: #b4befe;
$text: #cdd6f4;
$subtext1: #bac2de;
$subtext0: #a6adc8;
$overlay2: #9399b2;
$overlay1: #7f849c;
$overlay0: #6c7086;
$surface2: #585b70;
$surface1: #45475a;
$surface0: #313244;
$base: #1e1e2e;
$mantle: #181825;
$crust: #11111b;
@mixin module-spacing {
padding: 0 0.5rem 0 0.5rem;
}
* {
all: unset;
font-family: JetBrainsMono Nerd Font;
font-size: 13px;
color: $text;
}
window#waybar {
background-color: $base;
}
#tags {
button {
padding: 0.5rem;
}
button.focused {
border-radius: 3px;
border: 1px solid;
border-color: $red;
}
button.urgent {
border-radius: 3px;
background-color: $red;
}
}
#cpu,
#memory,
#clock,
#battery,
#tray {
@include module-spacing;
}