From ef43bf81b1634e5c5d983e1ebb17c4a55668ab2a Mon Sep 17 00:00:00 2001 From: Elisiei Yehorov Date: Sun, 19 Apr 2026 16:36:50 +0200 Subject: [PATCH] refactor: remove waybar --- flake.lock | 4 +-- flake.nix | 2 +- home/home.nix | 1 - home/modules/wm/mango/style.css | 52 ------------------------------- home/modules/wm/mango/waybar.nix | 53 -------------------------------- 5 files changed, 3 insertions(+), 109 deletions(-) delete mode 100644 home/modules/wm/mango/style.css delete mode 100644 home/modules/wm/mango/waybar.nix diff --git a/flake.lock b/flake.lock index 33024a8..1d170fd 100644 --- a/flake.lock +++ b/flake.lock @@ -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": { diff --git a/flake.nix b/flake.nix index eb54925..909fe83 100644 --- a/flake.nix +++ b/flake.nix @@ -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"; }; }; diff --git a/home/home.nix b/home/home.nix index eb56391..7d8028b 100644 --- a/home/home.nix +++ b/home/home.nix @@ -4,7 +4,6 @@ # wm ./modules/wm/mango/default.nix - ./modules/wm/mango/waybar.nix # editors ./modules/ide/nvim/default.nix diff --git a/home/modules/wm/mango/style.css b/home/modules/wm/mango/style.css deleted file mode 100644 index bd69574..0000000 --- a/home/modules/wm/mango/style.css +++ /dev/null @@ -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; -} diff --git a/home/modules/wm/mango/waybar.nix b/home/modules/wm/mango/waybar.nix deleted file mode 100644 index a938588..0000000 --- a/home/modules/wm/mango/waybar.nix +++ /dev/null @@ -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}"; - }; - } - ]; - }; -}