diff options
| author | Nantha Sorubakanthan <nantha@mielota.com> | 2026-06-07 00:15:20 +0200 |
|---|---|---|
| committer | Nantha Sorubakanthan <nantha@mielota.com> | 2026-06-07 00:15:20 +0200 |
| commit | c36e55e90f9bdcf2c080a874b947632fb3d56202 (patch) | |
| tree | d4ec4804a3312ea6e9d9666d6c3b554a86888b45 /nixos/config/waybar/config.jsonc | |
| parent | cc84916ba8c8f9b2e7b176ae3bd00aabac5137a1 (diff) | |
add nixos dotfiles
Diffstat (limited to 'nixos/config/waybar/config.jsonc')
| -rw-r--r-- | nixos/config/waybar/config.jsonc | 93 |
1 files changed, 93 insertions, 0 deletions
diff --git a/nixos/config/waybar/config.jsonc b/nixos/config/waybar/config.jsonc new file mode 100644 index 0000000..a60a949 --- /dev/null +++ b/nixos/config/waybar/config.jsonc @@ -0,0 +1,93 @@ +{ + //"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", + "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 + } +} |
