// -*- mode: jsonc -*- { //"output": "eDP-1", // "layer": "top", // Waybar at top layer // "position": "bottom", // Waybar position (top|bottom|left|right) "height": 30, // Waybar height (to be removed for auto height) // "width": 1280, // Waybar width "spacing": 0, // Gaps between modules (4px) // Choose the order of the modules "modules-left": [ "hyprland/workspaces", "cpu", "memory", "memory#swap" ], "modules-center": [ "mpd" ], "modules-right": [ "pulseaudio", "battery", "network", "tray", "clock" ], // Modules configuration "hyprland/workspaces": { "disable-scroll": true, "all-outputs": false, "active-only": true, "warp-on-scroll": false, "persistent-workspaces": { // "1": [], // "2": [], // "3": [], // "4": [], // "5": [], // "6": [], // "7": [], // "8": [], // "9": [], // "10": [], // "11": [], // "12": [] "eDP-1": [1,2,3,4,5,6,7,8,9], "HDMI-A-1": [10,11,12], "FUCKOFF": [13,14] }, "ignore-workspaces": [ "*13", "*14" ], "format": "{icon}", "format-icons": { "1": " ", "2": "二", "3": "三", "4": "四", "5": "五", "6": "六", "7": "七", "8": "八", "9": "九", "10": "ロ", "11": "一", "12": "十", "default": "", "empty": "" } }, "keyboard-state": { "numlock": true, "capslock": true, "format": "{name} {icon}", "format-icons": { "locked": "", "unlocked": "" } }, "hyprland/language": { "format-ru": "RU", "format-en": "EN" }, "hyprland/mode": { "format": "{}" }, "hyprland/scratchpad": { "format": "{icon} {count}", "show-empty": false, "format-icons": ["", ""], "tooltip": true, "tooltip-format": "{app}: {title}" }, "mpd": { "password": "kapuchinamusica", "artist-len": 30, "title-len": 45, "unknown-tag": "n/a", "format": "{stateIcon} {titleSmart}", "interval": 1, "single-icons": { "on": "1 " }, "state-icons": { "paused": "", "playing": "" }, "tooltip-format": "MPD (connected)", "tooltip-format-disconnected": "MPD (disconnected)", "format-stopped": " Stopping player...", "on-click": "mpc toggle --password kapuchinamusica" }, "idle_inhibitor": { "format": "{icon}", "format-icons": { "activated": "", "deactivated": "" } }, "tray": { // "icon-size": 21, "spacing": 10, "icons": { "blueman": "bluetooth", "*": "folder-symbolic" } }, "clock": { // "timezone": "America/New_York", "interval": 1, "tooltip-format": "{:%A ( %B %d )}\n{calendar}", "format": "{:%H:%M:%S}", "format-alt": "{:%Y-%m-%d}", "calendar": { "format": { // "months": "{}", "days": "{}", "weeks": "W{}", "weekdays": "{}", "today": "{}" } } }, "cpu": { "format": "󰓅 {usage}%", "tooltip": false, "interval": 3, "format-icons": [ "󰄰", "󰪞", "󰪟", "󰪠", "󰪡", "󰪢", "󰪣", "󰪤", "󰪥" ] }, "memory": { "format": "󰧑 {percentage}%", "interval": 3, "format-icons": [ "󰄰", "󰪞", "󰪟", "󰪠", "󰪡", "󰪢", "󰪣", "󰪤", "󰪥" ] }, "memory#swap": { "format": "󰋊 {swapPercentage}%", "interval": 10, "format-icons": [ "󰄰", "󰪞", "󰪟", "󰪠", "󰪡", "󰪢", "󰪣", "󰪤", "󰪥" ] }, "temperature": { // "thermal-zone": 2, // "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input", "critical-threshold": 80, // "format-critical": "{temperatureC}°C {icon}", "format": "{temperatureC}°C {icon}", "format-icons": ["", "", ""] }, "backlight": { // "device": "acpi_video1", "format": "{percent} {icon}", "format-icons": ["", "", "", "", "", "", "", "", ""] }, "battery": { "states": { "good": 85, "warning": 30, "critical": 18 }, "format": "{icon} {capacity}%", "format-full": "{icon} {capacity}%", "format-charging": "{icon}󱐋 {capacity}%", "format-plugged": "{icon} {capacity}%", "format-alt": "{time} {icon}", // "format-good": "", // An empty format will hide the module "format-full": "󱈏", "format-icons": ["󰂎", "", "", "󰁽", "", "󰁿", "", "󰂁", "󰂂", ""], "tooltip-format": "{capacity}%, draws {power:2.1f}W, time is {time}" }, "battery#bat2": { "bat": "BAT2" }, "power-profiles-daemon": { "format": "{icon}", "tooltip-format": "Power profile: {profile}\nDriver: {driver}", "tooltip": true, "format-icons": { "default": "󰓅", "performance": "󰓅", "balanced": "󰾅", "power-saver": "󰾆" } }, "network": { // "interface": "wlp2*", // (Optional) To force the use of this interface "format-wifi": "{icon}", "format-ethernet": "{ipaddr}/{cidr} ", "tooltip-format": "{essid} {ifname} via {gwaddr} ", "format-linked": "{ifname} (No IP) ", "format-disconnected": "󰤫", "format-icons": [ "󰤯", "󰤟", "󰤢", "󰤥", "󰤨" ], "on-click": "hyprctl dispatch exec, [float; move center] kitty -e nmtui" }, "pulseaudio": { // "scroll-step": 1, // %, can be a float "format": "{format_source} {volume}%", "format-bluetooth": "{format_source}󰂰 {volume}%", "format-bluetooth-muted": "{format_source} 󰂲", "format-muted": "󰖁", "format-source": "", "format-source-muted": " ", "format-icons": [ "󰄰", "󰪞", "󰪟", "󰪠", "󰪡", "󰪢", "󰪣", "󰪤", "󰪥" ], "on-click": "pwvucontrol" }, "custom/media": { "format": "{icon} {text}", "return-type": "json", "max-length": 40, "format-icons": { "spotify": "", "default": "🎜" }, "escape": true, "exec": "$HOME/.config/waybar/mediaplayer.py 2> /dev/null" // Script in resources folder // "exec": "$HOME/.config/waybar/mediaplayer.py --player spotify 2> /dev/null" // Filter player based on name }, "custom/power": { "format" : "⏻ ", "tooltip": false, "menu": "on-click", "menu-file": "$HOME/.config/waybar/power_menu.xml", // Menu file in resources folder "menu-actions": { "shutdown": "shutdown", "reboot": "reboot", "suspend": "systemctl suspend", "hibernate": "systemctl hibernate" } } }