summaryrefslogtreecommitdiff
path: root/.config/waybar/config.jsonc
diff options
context:
space:
mode:
authorkrolxon <krolyxon@tutanota.com>2025-08-03 21:29:53 +0530
committerkrolxon <krolyxon@tutanota.com>2025-08-03 21:29:53 +0530
commit3718ac5eb3aae770e0b50e44b514c276376f1bcf (patch)
tree9db1e5af4964e6b1e03f0ecf79f18a8d9de87491 /.config/waybar/config.jsonc
parent216cf47a22e69ec42ba26118dc92154d5ef95862 (diff)
move to hyprland
Diffstat (limited to '.config/waybar/config.jsonc')
-rw-r--r--.config/waybar/config.jsonc145
1 files changed, 145 insertions, 0 deletions
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": "<tt><big>{calendar}</big></tt>",
+ "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
+ },
+}