mine-hyprdots/waybar/config.jsonc

245 lines
7.3 KiB
JSON
Raw Normal View History

2024-09-18 01:54:11 +05:30
{
2025-03-04 09:01:21 +05:30
"layer": "top",
"margin-left": 3,
"margin-right": 3,
2024-10-08 10:04:45 +05:30
"margin-top": 2,
2025-03-04 09:01:21 +05:30
"margin-bottom": 0,
2024-10-09 17:15:16 +05:30
"modules-left": ["hyprland/workspaces", "cpu", "memory", "network#speed"],
2025-03-15 23:33:21 +05:30
"modules-center": ["clock"],
2024-09-18 01:54:11 +05:30
"modules-right": [
// "custom/cava",
"hyprland/window",
2025-06-07 12:51:17 +05:30
"custom/gh",
2025-02-23 00:38:43 +05:30
"temperature#gpu",
2025-05-16 14:50:06 +05:30
// "custom/update" ,
2025-02-23 00:38:43 +05:30
"custom/transparency",
2024-09-18 01:54:11 +05:30
"custom/wallpaper",
"wireplumber",
2024-09-18 01:54:11 +05:30
"backlight",
"network",
2025-03-04 09:01:21 +05:30
// "bluetooth",
2024-09-18 01:54:11 +05:30
"battery"
],
2025-06-07 12:51:17 +05:30
"custom/gh": {
"exec": "~/.config/waybar/scripts/weekly_commits",
"return-type": "json",
"interval": 2400,
2025-06-07 12:51:17 +05:30
"tooltip": true
},
2025-04-25 17:39:59 +05:30
"hyprland/window": {
"format": "{initialClass}",
"icon": true,
"icon-size": 19,
"seperate-outputs": true,
"rewrite": {
"": " Arch",
"Mozilla Firefox": "Firefox",
"(.*) Thunar": "Thunar",
"(.*)obs(.*)": "OBS",
"Spotify (.*)": "Spotify",
"discord(.*)": " Discord",
"Code": "VS Code",
2025-05-10 21:13:55 +05:30
"Docker Desktop": " Docker",
"kitty": "Kitty",
2025-05-26 18:29:29 +05:30
"app.zen_browser.zen": "Zen"
},
"on-click-middle": "pkill waybar && hyprctl dispatch exec waybar"
2025-04-25 17:39:59 +05:30
},
2025-03-20 16:18:42 +05:30
"custom/cava": {
"format": "{}",
2025-04-01 22:55:19 +05:30
"exec": "~/.config/waybar/scripts/cava.sh",
"on-click": "kitty cava"
2025-03-20 16:18:42 +05:30
},
2025-05-16 14:50:06 +05:30
"custom/update": {
"format": "{}",
"exec": "~/.config/waybar/scripts/check-updates.sh"
// "on-click": "kitty cava"
},
2025-02-23 00:38:43 +05:30
"temperature#gpu": {
"thermal-zone": 5,
"critical-threshold": 80,
"format-critical": "{temperatureC}°C ",
"format": "{temperatureC}°C ",
"tooltip": false
},
"backlight": {
"device": "intel_backlight",
"scroll-step": 5,
"format": "{icon}",
"format-icons": ["󰃞 ", "󰃟 ", "󰃝 ", "󰃠 "],
"tooltip": true,
"tooltip-format": "{percent}%"
},
2024-10-09 17:15:16 +05:30
"network#speed": {
"interval": 1,
"format": "{ifname}%%",
"format-wifi": " {bandwidthDownBytes}  {bandwidthUpBytes}",
"format-ethernet": " {bandwidthDownBytes}  {bandwidthUpBytes} ",
"format-disconnected": "󰌙",
"tooltip-format": "{ipaddr}",
"format-linked": "󰈁 {ifname} (No IP)",
"tooltip-format-wifi": "{essid} {icon} {signalStrength}%",
"tooltip-format-ethernet": "{ifname} 󰌘",
"tooltip-format-disconnected": "󰌙 Disconnected",
"max-length": 22,
"min-length": 20,
"format-icons": ["󰤯", "󰤟", "󰤢", "󰤥", "󰤨"]
},
2024-09-18 01:54:11 +05:30
"custom/launcher": {
"format": "",
"tooltip": false,
2024-10-08 10:04:45 +05:30
"on-click": "~/.config/rofi/launcher/launcher.sh"
2024-09-18 01:54:11 +05:30
},
2025-02-23 00:38:43 +05:30
"custom/transparency": {
"format": " ",
"tooltip": false,
2025-03-04 09:01:21 +05:30
"on-click": "~/.config/waybar/scripts/toggle-trans.sh",
2025-02-23 00:38:43 +05:30
"format-alt": " "
},
2024-09-18 01:54:11 +05:30
"cpu": {
"interval": 1,
"format": "{usage}% <span font='Font Awesome 6 Free-Solid'>\uf2db</span>",
"on-click": "kitty btop"
},
"memory": {
"interval": 1,
"format": "{percentage}% <span font='Font Awesome 5 Free'>\uf538</span>",
"on-click": "kitty btop",
"tooltip-format": "{used}/{total} GiB"
},
// "hyprland/workspaces": {
// "all-outputs": true,
// "warp-on-scroll": true,
// "enable-bar-scroll": true,
// "disable-scroll-wraparound": false,
// "format": " {icon} ",
// "format-icons": {
// "active": "●",
// "default": "○"
// },
// "persistent-workspaces": {
// "*": 3
// },
// "on-click": "activate",
// "on-scroll-up": "hyprctl dispatch workspace e-1",
// "on-scroll-down": "hyprctl dispatch workspace e+1"
// },
2024-10-08 10:04:45 +05:30
"hyprland/workspaces": {
2024-10-09 17:15:16 +05:30
"all-outputs": true,
"active-only": false,
"on-scroll-up": "hyprctl dispatch workspace e+1",
"on-scroll-down": "hyprctl dispatch workspace e-1",
"format": "{icon}",
2025-03-04 09:01:21 +05:30
"format-icons": {
"active": "󰮯",
"default": "󰊠",
"special": "S"
2025-03-04 09:01:21 +05:30
},
2024-10-09 17:15:16 +05:30
"persistent-workspaces": {
2025-05-16 14:49:57 +05:30
"*": 4
2024-10-09 17:15:16 +05:30
},
2024-10-08 10:04:45 +05:30
"on-click": "activate",
"on-scroll-up": "hyprctl dispatch workspace e-1",
2024-10-09 17:15:16 +05:30
"on-scroll-down": "hyprctl dispatch workspace e+1"
},
"custom/weather": {
"format": "{}°C",
"tooltip": false,
"interval": 3600,
"exec": "wttrbar --location 'Ahmedabad'",
"return-type": "json"
2024-09-18 01:54:11 +05:30
},
"clock": {
2025-04-25 17:39:59 +05:30
"format": "{:%I:%M %p ☲ %a %d/%m}",
2024-10-08 10:04:45 +05:30
"tooltip": true,
"tooltip-format": "<tt>{calendar}</tt>"
2024-09-18 01:54:11 +05:30
},
"custom/wallpaper": {
"format": "\uf03e",
"on-click": "~/.config/waybar/scripts/change-wallpaper.sh && hyprpaper",
"tooltip": false,
2025-05-17 09:34:19 +05:30
"on-click-right": "kitty -e ~/.config/waybar/scripts/select-wallpaper.sh"
2024-09-18 01:54:11 +05:30
},
"network": {
2024-10-08 10:04:45 +05:30
"format-wifi": " {icon}",
"format-ethernet": "󰈀",
"format-icons": ["󰤯 ", "󰤟 ", "󰤢 ", "󰤢 ", "󰤨 "],
2024-09-18 01:54:11 +05:30
"format-disconnected": "󰪎",
2024-10-08 10:04:45 +05:30
"interval": 5,
"tooltip-format-wifi": " {bandwidthDownBytes} |  {bandwidthUpBytes} | {essid}",
"tooltip-format-disconnected": "Disconnected",
"on-click": "exec ~/.config/rofi/wifi/wifi.sh",
"on-click-right": "kitty -e nmtui"
2024-09-18 01:54:11 +05:30
},
"battery": {
"states": {
2024-10-08 10:04:45 +05:30
"good": 95,
"warning": 30,
"critical": 15
2024-09-18 01:54:11 +05:30
},
2024-10-08 10:04:45 +05:30
"format": " {capacity}% {icon} ",
"format-full": "{icon}",
"format-plugged": " {capacity}% <span font='Font Awesome 5 Free'>\uf0e7</span> ",
2025-02-23 00:38:43 +05:30
"format-alt": "{icon}",
2024-10-08 10:04:45 +05:30
"tooltip-format": "{capacity}%, about {time} left",
"format-icons": [" ", " ", " ", " "]
2024-09-18 01:54:11 +05:30
},
// "pulseaudio": {
// "format": "<span font='Font Awesome 5 Free'>{icon}</span>",
// "format-muted": "<span font='Font Awesome 5 Free'>\uf6a9</span>",
// "format-icons": {
// "headphone": "\uf025",
// "default": ["\uf028"]
// // "default": [
// // "▁", // 016%
// // "▂▁", // 1733%
// // "▃▂▁", // 3450%
// // "▄▃▂▁", // 5166%
// // "▅▄▃▂▁", // 6783%
// // "▆▅▄▃▂▁" // 84100%
// // ]
// // "default": [
// // "░░░░░░░░░░",
// // "▓░░░░░░░░░",
// // "▓▓░░░░░░░░",
// // "▓▓▓░░░░░░░",
// // "▓▓▓▓░░░░░░",
// // "▓▓▓▓▓░░░░░",
// // "▓▓▓▓▓▓░░░░",
// // "▓▓▓▓▓▓▓░░░",
// // "▓▓▓▓▓▓▓▓░░",
// // "▓▓▓▓▓▓▓▓▓░",
// // "▓▓▓▓▓▓▓▓▓▓"
// // ]
// },
// "tooltip-format": "{volume}% {desc}",
// "on-click": "pamixer -t"
// },
"wireplumber": {
"max-volume": 200,
"scroll-step": 5,
"format": "{icon}",
"format-bluetooth": "{icon}",
"format-icons": [" ", " ", " "],
"format-muted": " ",
"on-click-middle": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle",
"on-click": "pamixer -t",
"tooltip-format": "{volume}% | {desc}"
2024-09-18 01:54:11 +05:30
},
2024-10-08 10:04:45 +05:30
"bluetooth": {
"format": "{icon}",
"format-icons": ["", "󰤾", "󰥀", "󰥄", "󰥈"],
"tooltip-format-off": "Bluetooth is off",
"tooltip-format-on": "Bluetooth is on",
"format-connected": "{icon} {num_connections}",
"format-connected-battery": "{icon} {device_battery_percentage}%",
"tooltip-format-connected": "{device_enumerate}",
"tooltip-format-enumerate-connected": "{device_alias}\t{device_battery_percentage}%",
"on-click": "blueman-manager"
2024-09-18 01:54:11 +05:30
}
}