From 3718ac5eb3aae770e0b50e44b514c276376f1bcf Mon Sep 17 00:00:00 2001 From: krolxon Date: Sun, 3 Aug 2025 21:29:53 +0530 Subject: move to hyprland --- .config/waybar/config.jsonc | 145 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 .config/waybar/config.jsonc (limited to '.config/waybar/config.jsonc') diff --git a/.config/waybar/config.jsonc b/.config/waybar/config.jsonc new file mode 100644 index 0000000..abaced1 --- /dev/null +++ b/.config/waybar/config.jsonc @@ -0,0 +1,145 @@ +{ + // "layer": "top", // Waybar at top layer + "position": "top", // Waybar position (top|bottom|left|right) + "height": 0, // Waybar height (to be removed for auto height) + "width": 0, // Waybar width (0 == auto) + "spacing": 0, // Gaps between modules + // "output": ["HDMI-A-1", "DP-2", "eDP-1"], + // Choose the order of the modules + "modules-left": [ + "hyprland/workspaces" + // "hyprland/window", + ], + "modules-center" : [ + ], + "modules-right": [ + "mpd", + "pulseaudio", + "battery", + "cpu", + "memory", + "network", + "custom/date", + "clock", + "tray", + ], + // Modules configuration + "hyprland/workspaces": { + "format": "{icon}", + "format-icons": { + "1": "", + "2": "", + "3": "", + "4": "", + "5": "", + "6": "", + "7": "", + "8": "", + "9": "", + "10": "", + "11": "", + "12": "", + "13": "", + "14": "", + "15": "", + "16": "", + "17": "", + "18": "", + "19": "", + "20": "", + "urgent": "", + // "active": "", // focused workspace on current monitor + // "visible": "", // focused workspace on other monitors + // "default": "", + // "default": "", // focused workspace on current monitor + // "empty": "" // persistent + }, + "on-scroll-up": "hyprctl dispatch workspace r-1", + "on-scroll-down": "hyprctl dispatch workspace r+1", + "all-outputs": false, + "show-special": false + }, + "tray": { + "icon-size": 21, + "spacing": 12 + }, + "clock": { + "timezone": "Asia/Kolkata", + "tooltip-format": "{calendar}", + "format": "󰥔 {:%H:%M}", + "interval": 5 + }, + "custom/date": { + "timezone": "Asia/Kolkata", + "exec": "date +'%a %Y-%m-%d'", + "format": "󰃭 {}", + "interval": 1, + "tooltip": false + }, + "cpu": { + "format": " {usage:2}%", + "tooltip": false, + "interval": 1 + }, + "memory": { + "format": " {:2}%", + "interval": 1 + }, + "network": { + "interval": 5, + "format-wifi": " {essid} ({signalStrength}%)", // Icon: wifi + "format-ethernet": " {ifname}: {ipaddr}/{cidr}", // Icon: ethernet + "format-disconnected": "⚠ Disconnected", + "tooltip-format": "{ifname}: {ipaddr}" + }, + "battery": { + "states": { + "good": 90, + "warning": 30, + "critical": 15 + }, + "format": "{icon} {capacity:3}%", + "format-charging": "󰂄 {capacity:3}%", + "format-plugged": " {capacity:3}%", + "format-alt": "{icon} ", + "format-good": "{icon} {capacity:3}%", + "format-full": "{icon} {capacity:3}%", + "format-icons": [ + "", + "", + "", + "", + "" + ] + }, + "pulseaudio": { + "scroll-step": 1, // %, can be a float + "format": "{volume:2}% {icon} {format_source}", + "format-muted": "{volume:2}% 󰝟 {format_source}", + "format-bluetooth": "{volume:2}% {icon}  {format_source}", + "format-source": "", + "format-source-muted": "", + "format-icons": { + "analog": "", + "hdmi": "󰓃", + "headphone": "", + "headset": "󰋎", + "default": [ + "", // 0 - 25 + "", // 25 - 50 + "", // 50 - 75 + "" // 75 - 100 + ] + }, + "on-click": "pavucontrol", + }, + "mpd": { + "format": "Playing ", + "format-paused": "Paused ", + "format-stopped": "Stopped ", + "max-length": 20, + "tooltip": false, + "tooltip-format": "{title}\n{artist}\n{album}", + "tooltip": true + }, +} -- cgit v1.2.3