summaryrefslogtreecommitdiff
path: root/nixos/config/waybar
diff options
context:
space:
mode:
authorNantha Sorubakanthan <nantha@mielota.com>2026-06-08 13:08:37 +0200
committerNantha Sorubakanthan <nantha@mielota.com>2026-06-08 19:58:30 +0200
commit770c0cfc08bd73ada6e7754473d69fe9e2d17dc2 (patch)
tree3c1da3053ed03bbdc2e8c4e4fbf26947b7ef97ae /nixos/config/waybar
parent218a690b155d9e7d47bb2e7487a150c16c8f482f (diff)
rewrite config in nix
Diffstat (limited to 'nixos/config/waybar')
-rw-r--r--nixos/config/waybar/config.jsonc78
-rw-r--r--nixos/config/waybar/style.css105
2 files changed, 0 insertions, 183 deletions
diff --git a/nixos/config/waybar/config.jsonc b/nixos/config/waybar/config.jsonc
deleted file mode 100644
index 0ad4860..0000000
--- a/nixos/config/waybar/config.jsonc
+++ /dev/null
@@ -1,78 +0,0 @@
-{
- "layer": "top",
- "position": "top",
- "height": 30,
- "spacing": 8,
-
- "modules-left": [
- "hyprland/workspaces",
- "hyprland/window"
- ],
-
- "modules-center": [
- ],
-
- "modules-right": [
- "tray",
- "network",
- "pulseaudio",
- "battery",
- "cpu",
- "memory",
- "disk",
- "clock"
- ],
-
- "pulseaudio": {
- "format": "VOL: {volume}%",
- "format-muted": "MUTED",
- "on-click": "sh ~/.local/bin/unblock-pipewire.sh"
- },
-
- "hyprland/workspaces": {
- "format": "{name}",
- "persistent-workspaces": {
- "*" : 10
- }
- },
-
- "hyprland/window" : {
- "max-length": 40,
- "seperate-outputs": false
- },
-
- "tray": {
- "spacing": 10
- },
- "clock": {
- "format": "{:%H:%M:%S}",
- "format-alt": "{:%Y-%m-%d}",
- "tooltip": false,
- "interval": 1
- },
- "cpu": {
- "format": "CPU: {usage}%",
- "tooltip": false
- },
- "memory": {
- "format": "RAM: {used}GiB"
- },
- "disk": {
- "interval": 60,
- "path": "/",
- "format": "ROOT: {free}"
- },
- "battery": {
- "states": {
- "good": 95,
- "warning": 30,
- "critical": 15
- },
- "format": "BAT: {capacity}%",
- "format-plugged": "BAT!: {capacity}%"
- },
- "network": {
- "format": "ONLINE",
- "format-disconnected": "OFFLINE"
- }
-}
diff --git a/nixos/config/waybar/style.css b/nixos/config/waybar/style.css
deleted file mode 100644
index c17a100..0000000
--- a/nixos/config/waybar/style.css
+++ /dev/null
@@ -1,105 +0,0 @@
-@define-color bg #1a1b26;
-@define-color fg #a9b1d6;
-@define-color blk #32344a;
-@define-color red #f7768e;
-@define-color grn #9ece6a;
-@define-color ylw #e0af68;
-@define-color blu #7aa2f7;
-@define-color mag #ad8ee6;
-@define-color cyn #0db9d7;
-@define-color brblk #444b6a;
-@define-color white #ffffff;
-
-* {
- font-family: "0xProto Nerd Font", monospace;
- font-size: 16px;
- font-weight: bold;
-}
-
-window#waybar {
- background-color: @bg;
- color: @fg;
-}
-
-#workspaces button {
- padding: 0 6px;
- color: @cyn;
- background: transparent;
- border-bottom: 3px solid @bg;
-}
-#workspaces button.active {
- color: @cyn;
- border-bottom: 3px solid @mag;
-}
-#workspaces button.empty {
- color: @white;
-}
-#workspaces button.empty.active {
- color: @cyn;
- border-bottom: 3px solid @mag;
-}
-
-#workspaces button.urgent {
- background-color: @red;
-}
-
-button:hover {
- background: inherit;
- box-shadow: inset 0 -3px #ffffff;
-}
-
-#clock,
-#custom-sep,
-#battery,
-#cpu,
-#memory,
-#disk,
-#network,
-#tray,
-#pulseaudio {
- padding: 0 8px;
- color: @white;
-}
-
-#clock {
- color: @cyn;
- border-bottom: 4px solid @cyn;
-}
-
-#battery {
- color: @mag;
- border-bottom: 4px solid @mag;
-}
-
-#disk {
- color: @ylw;
- border-bottom: 4px solid @ylw;
-}
-
-#memory {
- color: @mag;
- border-bottom: 4px solid @mag;
-}
-
-#cpu {
- color: @grn;
- border-bottom: 4px solid @grn;
-}
-
-#network {
- color: @blu;
- border-bottom: 4px solid @blu;
-}
-
-#network.disconnected {
- background-color: @red;
-}
-
-#tray {
- background-color: #2980b9;
-}
-
-#pulseaudio {
- color: @grn;
- border-bottom: 4px solid @grn;
-}