From 8cbadb61604667b407b53ee1258433994fa4765a Mon Sep 17 00:00:00 2001 From: coasteen Date: Thu, 9 Jul 2026 10:42:28 +0330 Subject: init --- config/waybar-2/waybar/config.jsonc | 154 ++++++++++++++++++++++++++++++++++++ 1 file changed, 154 insertions(+) create mode 100755 config/waybar-2/waybar/config.jsonc (limited to 'config/waybar-2/waybar/config.jsonc') diff --git a/config/waybar-2/waybar/config.jsonc b/config/waybar-2/waybar/config.jsonc new file mode 100755 index 0000000..8d04fac --- /dev/null +++ b/config/waybar-2/waybar/config.jsonc @@ -0,0 +1,154 @@ +{ + "reload-style-on-change": true, + "layer": "top", + "position": "top", + "output": "HDMI-A-1", + "spacing": 0, + "height": 35, + "border-radius": 25, + + "modules-left": ["niri/workspaces"], + "modules-center": [], + "modules-right": ["group/right"], + + "group/right": { + "orientation": "inherit", + "modules": [ + "clock" + ] + }, + + "custom/active_window": { + "exec": "~/.config/waybar/window.sh", + "return-type": "json", + "markup": true + }, + + "niri/workspaces": { + "on-click": "activate", + "format": "{icon}", + "format-icons": { + "default": "", + "active": "", + "urgent": "", + "empty": "" + }, + "persistent-workspaces": { + "1": [], + "2": [], + "3": [], + "4": [], + "5": [], + "6": [], + "7": [], + "8": [] + } + }, + + "custom/wbmenu": { + "format": "", + "on-click": "rofi -show drun -config ~/.config/rofi/gruvbox.rasi", + "on-click-right": "xdg-terminal-exec", + "tooltip-format": "Menu\n\nSuper + Return" + }, + + "cpu": { + "interval": 2, + "format": "{icon} ", + "format-icons": ["󰪞", "󰪟", "󰪠", "󰪡", "󰪢", "󰪣", "󰪤", "󰪥"] + }, + + "memory": { + "interval": 2, + "format": "{icon}", + "format-icons": ["󰪞", "󰪟", "󰪠", "󰪡", "󰪢", "󰪣", "󰪤", "󰪥"] + }, + + "clock": { + "format": " {:%I:%M %p • %a, %d/%m} ", + "format-alt": "{:%A, %d %B %Y}", + "tooltip-format": "{:%Y %B}\n{calendar}" + }, + + "network": { + "format-icons": ["󰤯", "󰤟", "󰤢", "󰤥", "󰤨"], + "format": "{icon}", + "format-wifi": "{icon}", + "format-ethernet": "󰌘", + "format-disconnected": "󰤮", + "tooltip-format-wifi": "{essid} ({frequency} GHz)\n⇣{bandwidthDownBytes} ⇡{bandwidthUpBytes}", + "tooltip-format-ethernet": "⇣{bandwidthDownBytes} ⇡{bandwidthUpBytes}", + "tooltip-format-disconnected": "Disconnected", + "interval": 3, + "spacing": 1 + }, + + "battery": { + "format": "{capacity}% {icon}", + "format-discharging": "{icon}", + "format-charging": "{icon}", + "format-plugged": "", + "format-icons": { + "charging": ["󰢜", "󰂆", "󰂇", "󰂈", "󰢝", "󰂉", "󰢞", "󰂊", "󰂋", "󰂅"], + "default": ["󰁺", "󰁻", "󰁼", "󰁽", "󰁾", "󰁿", "󰂀", "󰂁", "󰂂", "󰁹"] + }, + "format-full": "󰂅", + "tooltip-format-discharging": "{power:>1.0f}W↓ {capacity}%", + "tooltip-format-charging": "{power:>1.0f}W↑ {capacity}%", + "interval": 5, + "states": { + "warning": 20, + "critical": 10 + } + }, + + "bluetooth": { + "format": "󰂯", + "format-disabled": "󰂲", + "format-connected": "", + "format-no-controller": "", + "tooltip-format": "Devices connected: {num_connections}" + }, + + "pulseaudio": { + "format": "{icon}", + "on-click-right": "pamixer -t", + "tooltip-format": "Playing at {volume}%", + "scroll-step": 5, + "format-muted": "", + "format-icons": { + "default": [" ", " ", " "] + } + }, + + "group/tray-expander": { + "orientation": "inherit", + "drawer": { + "transition-duration": 600, + "children-class": "tray-group-item" + }, + "modules": ["custom/expand-icon", "tray"] + }, + + "custom/expand-icon": { + "format": "", + "tooltip": false + }, + + "tray": { + "icon-size": 16, + "spacing": 8 + }, + + "custom/separator#blank": { + "format": " ", + "interval": "once", + "tooltip": false + }, + + "custom/separator#dot": { + "format": " ", + "interval": "once", + "tooltip": false + } +} -- cgit v1.2.3