{ "hyprland/window": { "format": "{title}", "max-length": 80, "separate-outputs": false, "rewrite": { "^.*( — Brave|Brave)$": " Brave", "^.*vim.*$": " Neovim", "^.*~$": "󱙝 Ghostty", "^.*Emacs": " Emacs", "(.*) ": " Empty" }, }, "group/info": { "orientation": "inherit", "drawer": { "transition-duration": 300, "transition-left-to-right": false, }, "modules": ["custom/arrow-right", "cpu", "memory", "disk" ], }, "custom/arrow-right": { "format": "󰁙", "tooltip": false, }, "cpu": { "format": "󰘚 {usage}󱉸", }, "memory": { "format": " {:2}󱉸", }, "disk": { "interval": 600, "format": "󰆼 {percentage_used}󱉸", "path": "/home", }, "hyprland/workspaces": { "format": "{icon}", "on-click": "activate", "all-outputs": true, "format-icons": { "1": "", "2": "󰅩", "3": "󰖟", "4": "󰓇", "5": "", "6": "󰙯", "7": "", "8": "󰕧", "9": "", "10": "", }, }, "group/control-center": { "orientation": "inherit", "modules": ["hyprland/language", "group/audio", "group/connection"], }, "hyprland/language": { "format": "{}", "format-en": "en", "format-ru": "ru", "keyboard-name": "kingston-hyperx-alloy-fps-pro-mechanical-gaming-keyboard-1", // "keyboard-name":"at-translated-set-2-keyboard", "on-click": "hyprctl switchxkblayout kingston-hyperx-alloy-fps-pro-mechanical-gaming-keyboard-1 next", }, "group/audio": { "orientation": "inherit", "drawer": { "transition-duration": 300, "transition-left-to-right": false, }, "modules": [ "pulseaudio" // "pulseaudio#mic" // "pulseaudio/slider" ] }, "pulseaudio": { "format": "{icon}", "format-bluetooth": "{icon}", "tooltip": false, // "tooltip-format": "{volume}% {icon} | {desc}", "format-muted": "󰖁", "format-icons": { "headphones": "󰋌", "handsfree": "󰋌", "headset": "󰋌", "phone": "", "portable": "", "car": " ", "default": ["󰕿", "󰖀", "󰕾"], }, "on-click": "pamixer -t && exec $NIX_CONFIG_DIR/scripts/progress-notify.sh mute", "on-click-right": "pavucontrol", "on-scroll-down": "pamixer -d 5 && exec $NIX_CONFIG_DIR/scripts/progress-notify.sh audio", "on-scroll-up": "pamixer -i 5 && exec $NIX_CONFIG_DIR/scripts/progress-notify.sh audio", "smooth-scrolling-threshold": 1, }, // "pulseaudio#mic": { // "format": "{format_source}", // "format-source": "", // "format-source-muted": "", // "tooltip": false, // // "tooltip-format": "{volume}% {format_source} ", // "on-click": "pactl set-source-mute 0 toggle", // "on-scroll-down": "pactl set-source-volume 0 -1%", // "on-scroll-up": "pactl set-source-volume 0 +1%", // }, "pulseaudio/slider": { "min": 0, "max": 100, "orientation": "horizontal", }, "group/connection": { "orientation": "inherit", "modules": ["group/network", "group/bluetooth"], }, "group/network": { "orientation": "inherit", "drawer": { "transition-duration": 300, "transition-left-to-right": true, }, "modules": ["network", "network#speed"], }, "group/bluetooth": { "orientation": "inherit", "drawer": { "transition-duration": 300, "transition-left-to-right": true, }, "modules": ["bluetooth", "bluetooth#status"], }, "network": { "format": "{icon}", "format-icons": { "wifi": ["󰤨"], "ethernet": ["󰈁"], "disconnected": [""], }, "format-wifi": "󰤨", "format-ethernet": "󰈁", "format-disconnected": "󰖪", "format-linked": "󰈁", "tooltip": false, "on-click": "pgrep -x wofi &>/dev/null && notify-send wofi || networkmanager_dmenu", }, "network#speed": { "format": " {bandwidthDownBits} ", "interval": 5, "tooltip-format": "{ipaddr}", "tooltip-format-wifi": "{essid} ({signalStrength}%)  \n{ipaddr} | {frequency} MHz{icon} ", "tooltip-format-ethernet": "{ifname} 󰈀 \n{ipaddr} | {frequency} MHz{icon} ", "tooltip-format-disconnected": "Not Connected to any type of Network", "tooltip": true, "on-click": "pgrep -x wofi &>/dev/null && notify-send wofi || networkmanager_dmenu", }, "bluetooth": { "format-on": "", "format-off": "󰂲", "format-disabled": "󰂲", "format-connected": "", "tooltip": false, "on-click": "overskride" // "tooltip-format": "{controller_alias}\t{controller_address}\n\n{num_connections} connected", // "tooltip-format-connected": "{controller_alias}\t{controller_address}\n\n{num_connections} connected\n\n{device_enumerate}", // "tooltip-format-enumerate-connected": "{device_alias}\t{device_address}", // "tooltip-format-enumerate-connected-battery": "{device_alias}\t{device_address}\t{device_battery_percentage}%", }, "bluetooth#status": { "format-on": "", "format-off": "", "format-disabled": "", "format-connected": "{num_connections}", "format-connected-battery": "{device_battery_percentage}%", "tooltip-format": "{controller_alias}\t{controller_address}\n\n{num_connections} connected", "tooltip-format-connected": "{controller_alias}\t{controller_address}\n\n{num_connections} connected\n\n{device_enumerate}", "tooltip-format-enumerate-connected": "{device_alias}\t{device_address}", "tooltip-format-enumerate-connected-battery": "{device_alias}\t{device_address}\t{device_battery_percentage}%", "on-click": "wofi-bluetooth -config ~/.config/rofi/menu.d/network.rasi -i", }, "group/hub": { "orientation": "inherit", "modules": ["group/utils", "clock"], }, "group/utils": { "orientation": "inherit", "drawer": { "transition-duration": 300, "transition-left-to-right": true, }, "modules": [ "custom/arrow-left", "custom/notifications", "custom/weather" ], }, "custom/arrow-left": { "format": "󰁒", "tooltip": false, }, "custom/notifications": { "tooltip": false, // I don't know why "{icon} {}" doesn't work "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": "swaync-client -t -sw", "on-click-right": "swaync-client -d -sw", "escape": true }, "custom/weather": { "format": "{}", "tooltip": false, "interval": 3600, "exec": "wttrbar --custom-indicator '{ICON}{temp_C}°C'", "return-type": "json", }, "clock": { "format": "{:%H:%M}", "format-alt": "{:%A %d.%m}", "tooltip-format": "{calendar}", "calendar": { "mode": "month", "on-scroll": 1, "format": { "months": "{}", "days": "{}", "weeks": "W{}", "weekdays": "{}", "today": "{}", }, }, "actions": { "on-click-right": "mode", "on-scroll-up": "shift_up", "on-scroll-down": "shift_down", }, }, "group/power": { "orientation": "inherit", "drawer": { "transition-duration": 300, "transition-left-to-right": false, }, "modules": ["battery", "power-profiles-daemon"], }, "battery": { "states": { "good": 95, "warning": 30, "critical": 15 }, "format": "{icon}", "format-charging": "{icon} ", "format-full": "{icon}", "on-update": "$NIX_CONFIG_DIR/scripts/battery-warn.sh 255", "format-icons": [ "󰁻", "󰁼", "󰁾", "󰂀", "󰂂", "󰁹" ], "tooltip-format": "{timeTo} {capacity} % | {power} W" }, "power-profiles-daemon": { "format": "{icon}", "tooltip-format": "Power profile: {profile}\nDriver: {driver}", "tooltip": true, "format-icons": { "default": "", "performance": "", "balanced": "", "power-saver": "" } }, }