refactor: remove waybar

This commit is contained in:
Elisiei Yehorov 2026-04-19 16:36:50 +02:00
parent b06358148a
commit ef43bf81b1
Signed by: elisiei
GPG key ID: BA1D158DCE3DF089
5 changed files with 3 additions and 109 deletions

4
flake.lock generated
View file

@ -342,11 +342,11 @@
"rev": "6b8a278b4f2973391b256eedf6add3d6a3516bc0",
"revCount": 79,
"type": "git",
"url": "https://git.coom.tech/eli/omnisearch"
"url": "https://git.elisiei.xyz/elisiei/omnisearch"
},
"original": {
"type": "git",
"url": "https://git.coom.tech/eli/omnisearch"
"url": "https://git.elisiei.xyz/elisiei/omnisearch"
}
},
"root": {

View file

@ -30,7 +30,7 @@
# omnisearch
omnisearch = {
url = "git+https://git.coom.tech/eli/omnisearch";
url = "git+https://git.elisiei.xyz/elisiei/omnisearch";
inputs.nixpkgs.follows = "nixpkgs";
};
};

View file

@ -4,7 +4,6 @@
# wm
./modules/wm/mango/default.nix
./modules/wm/mango/waybar.nix
# editors
./modules/ide/nvim/default.nix

View file

@ -1,52 +0,0 @@
* {
border: none;
border-radius: 0;
font-family: "Maple Mono NF";
font-size: 12px;
min-height: 0;
}
window#waybar {
background: #000000;
color: #bbbbbb;
border-bottom: 1px solid #262626;
}
/* workspaces */
#workspaces {
margin: 0;
padding: 0;
border-bottom: 1px solid #262626;
}
#workspaces button {
padding: 0 6px;
margin: 0;
background: transparent;
color: #bbbbbb;
}
#workspaces button.active {
background: transparent;
color: #eeeeee;
}
#window {
padding: 0 6px;
color: #bbbbbb;
}
/* right modules */
#cpu,
#memory,
#pulseaudio,
#clock {
padding: 0 6px;
color: #bbbbbb;
}
/* remove weird Waybar defaults */
tooltip {
background: #222222;
border: 1px solid #444444;
}

View file

@ -1,53 +0,0 @@
{lib, ...}: {
programs.waybar = {
enable = true;
style = lib.mkForce ./style.css;
settings = [
{
layer = "top";
position = "top";
height = 22;
modules-left = ["ext/workspaces"];
modules-center = ["dwl/window"];
modules-right = [
"cpu"
"memory"
"pulseaudio"
"clock"
];
"ext/workspaces" = {
disable-scroll = true;
all-outputs = true;
format = "{name}";
};
"dwl/window" = {
format = "{title}";
max-length = 80;
};
cpu = {
format = "cpu {usage}%";
interval = 3;
};
memory = {
format = "mem {percentage}%";
interval = 3;
};
pulseaudio = {
format = "vol {volume}%";
format-muted = "vol mute";
};
clock = {
format = "{:%Y-%m-%d %H:%M}";
};
}
];
};
}