summaryrefslogtreecommitdiff
path: root/nixos/config/waybar/config.jsonc
diff options
context:
space:
mode:
authorNantha Sorubakanthan <nantha@mielota.com>2026-06-07 12:11:52 +0200
committerNantha Sorubakanthan <nantha@mielota.com>2026-06-07 12:11:52 +0200
commitf4977db08909fcc78c7a5c7cedaa17668ab3e0f0 (patch)
tree28a8a86e27b460dd1582a5682e83bb9a8222a586 /nixos/config/waybar/config.jsonc
parent2926770788970ceeb31d69a726ba971358499862 (diff)
make hyprland prettier !
Diffstat (limited to 'nixos/config/waybar/config.jsonc')
-rw-r--r--nixos/config/waybar/config.jsonc154
1 files changed, 64 insertions, 90 deletions
diff --git a/nixos/config/waybar/config.jsonc b/nixos/config/waybar/config.jsonc
index a60a949..7b8e46c 100644
--- a/nixos/config/waybar/config.jsonc
+++ b/nixos/config/waybar/config.jsonc
@@ -1,93 +1,67 @@
{
- //"margin-top": 15,
- //"margin-right": 15,
- //"margin-left": 15,
- "margin-top": 0,
- "margin-right": 0,
- "margin-left": 0,
- "layer": "top",
- "position": "top",
- "spacing": 3,
- // All modules : battery, pulseaudio, tray, hyprland/workspaces, clock, cpu, memory, network
- "modules-left": [
- "hyprland/workspaces",
- "hyprland/window"
- ],
- "modules-center": [
- "clock"
- ],
- "modules-right": [
- "tray",
+ "layer": "top",
+ "position": "top",
+ "height": 30,
+ "spacing": 8,
+
+ "modules-left": [
+ "hyprland/workspaces",
+ "hyprland/window"
+ ],
+
+ "modules-center": [
+ ],
+
+ "modules-right": [
+ "tray",
+ "network",
"battery",
- "pulseaudio",
- "temperature",
- "cpu",
- "memory",
- "network"
- ],
- "temperature": {
- "format": "TEMP: {temperatureC}°C",
- "hwmon-path": [
- "/sys/devices/pci0000:00/0000:00:18.3/hwmon/hwmon2/temp1_input"
- ],
- "critical-threshold": 65,
- "interval": 3
- },
- "hyprland/workspaces": {
- "format": "{id}",
- "show-special": true
- },
- "hyprland/window": {
- "format": "{initialTitle}",
- "tooltip": false,
- "icon": true
- },
- "network": {
- "format": "{ifname}",
- "format-disconnected": "NULL",
- "interval": 5,
- "tooltip": true,
- "tooltip-format": "{essid}"
- },
- "cpu": {
- "format": "CPU: {usage}%",
- "interval": 3,
- "states": {
- "warning": 40,
- "urgent": 60,
- "critical": 80
- }
- },
- "memory": {
- "format": "MEM: {percentage}%",
- "format-alt": "MEM: {used} GiB",
- "interval": 3,
- "states": {
- "warning": 40,
- "urgent": 60,
- "critical": 80
- },
- "tooltip": true,
- "tooltip-format": "{used}/{total} GiB"
- },
- "pulseaudio": {
- "format": "VOL: {volume}%",
- "format-bluetooth": "VOL: {volume}%",
- "format-muted": "MUTED",
- "on-click": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"
- },
- "battery": {
- "format": "BAT: {capacity}%",
- "interval": 5,
- "states": {
- "warning": 60,
- "urgent": 35,
- "critical": 20
- }
- },
- "clock": {
- "format": "{:%H:%M:%S - %a %d %B %Y}",
- "tooltip": false,
- "interval": 1
- }
+ "cpu",
+ "memory",
+ "disk",
+ "clock"
+ ],
+
+ "hyprland/workspaces": {
+ "format": "{name}",
+ "persistent-workspaces": {
+ "*" : 9
+ }
+ },
+
+ "hyprland/window" : {
+ "max-length": 40,
+ "seperate-outputs": false
+ },
+ "tray": {
+ "spacing": 10
+ },
+ "clock": {
+ "format-alt": "{:%Y-%m-%d}"
+ },
+ "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"
+ }
}