// MIT License // Copyright (c) 2024 LightCrimson // https://github.com/yurihikari/garuda-hyprdots // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell // copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included in all // copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. { "layer": "top", // Waybar at top layer "position": "top", // Waybar position (top|bottom|left|right) "height": 40, "margin": "0 0 0 0", //"width": 1350, // Waybar width // Choose the order of the modules idle_inhibitor "modules-left": [ "hyprland/workspaces", "niri/workspaces", "tray", "custom/media" ], "modules-center": [], "modules-right": [ "wireplumber", "backlight", "battery", "network", "privacy", "clock", "custom/swaync" ], // Modules configuration "hyprland/workspaces": { "disable-scroll": true, "all-outputs": true, "format": "{icon}", // "format": "< %g >", // "format_focused" : "< %g ● >", "format-icons": { "1": "1", "2": "2", "3": "3", "4": "4", "5": "5", "6": "6", "7": "7", "8": "8", "9": "9", "10": "10" } }, "niri/workspaces": { "disable-scroll": true, "all-outputs": true, "format": "{icon}" // "format": "< %g >", // "format_focused" : "< %g ● >", }, "custom/media": { // "format": "{format}", "max-length": 40, "escape": true, "exec": "playerctl metadata title -F" }, "tray": { "icon-size": 14, "spacing": 5 }, "clock": { "tooltip-format": "{calendar}", "calendar": { "mode": "month", "mode-mon-col": 3, "weeks-pos": "right", "on-scroll": 1, "on-click-right": "mode", "format": { "months": "{}", "days": "{}", "weeks": "W{}", "weekdays": "{}", "today": "{}" } }, "actions": { "on-click-right": "mode", "on-click-forward": "tz_up", "on-click-backward": "tz_down", "on-scroll-up": "shift_up", "on-scroll-down": "shift_down" }, "format": " {:%a %d %b  %I:%M %p}", //12 hour format // "format": " {:%d %m %Y  %H:%M}", //24 hour format "format-alt": " {:%d/%m/%Y  %H:%M:%S}", // //"timezones": [ "Kolkata" ], // //"max-length": 200 "interval": 1 }, "battery": { "states": { // "good": 95, "warning": 30, "critical": 15 }, "format": "{icon} {capacity: >3}%", // "format-good": "", // An empty format will hide the module // "format-full": "", "format-icons": ["", "", "", "", ""] //"format-icons": ["", "", "", "", "", "", "", "", "", ""] }, "backlight": { // "device": "acpi_video1", "format": "{icon} {percent}%", "format-icons": ["", "", "", "", "", "", "", "", ""] }, "network": { // "interface": "wlp2s0", // (Optional) To force the use of this interface "format": "⚠ Disabled", //"format-wifi": " {essid}", "format-wifi": " Connected", // "format-ethernet": " {ifname}: {ipaddr}/{cidr}", "format-ethernet": " Wired", "format-disconnected": "⚠ Disconnected", "on-click": "ghostty --fullscreen=true -e 'sleep 0.05; nmtui'" }, "wireplumber": { "format": "{icon} {volume}%", "format-muted": "", "on-click": "helvum", "format-icons": ["", "", ""] }, "custom/swaync": { "tooltip": false, "format": "{} {icon}", "format-icons": { "notification": "󱅫", "none": "", "dnd-notification": " ", "dnd-none": "󰂛", "inhibited-notification": " ", "inhibited-none": "", "dnd-inhibited-notification": " ", "dnd-inhibited-none": " " }, "return-type": "json", "exec-if": "which swaync-client", "exec": "swaync-client -swb", "on-click": "sleep 0.1 && swaync-client -t -sw", "on-click-right": "sleep 0.1 && swaync-client -d -sw", "escape": true }, "privacy": { "icon-spacing": 4, "icon-size": 18, "transition-duration": 250, "modules": [ { "type": "screenshare", "tooltip": true, "tooltip-icon-size": 24 }, // { // "type": "audio-out", // "tooltip": true, // "tooltip-icon-size": 24 // }, { "type": "audio-in", "tooltip": true, "tooltip-icon-size": 24 } ] } }