// __ __ _ _ // | \/ | ___ __| |_ _| | ___ ___ // | |\/| |/ _ \ / _` | | | | |/ _ \/ __| // | | | | (_) | (_| | |_| | | __/\__ \ // |_| |_|\___/ \__,_|\__,_|_|\___||___/ // // // by Stephan Raabe (2023) // ----------------------------------------------------- // { // Workspaces "hyprland/workspaces" : { "on-click": "activate", "active-only": false, "all-outputs": true, "format": "{}", "format-icons": { "urgent": "", "active": "", "default": "" }, "persistent-workspaces": { "*": 5 } }, // Hyprland Window "hyprland/window": { "rewrite": { "(.*) - (.*) - Visual Studio Code": "$1 - VSCode", "(.*) — Zen Browser": "$1", "Alacritty": "Terminal" }, "separate-outputs": true }, // Rofi Application Launcher "custom/appmenu": { "format": "Apps", "tooltip-format": "Left: Open the application launcher\nRight: Show all keybindings", "on-click": "rofi -show drun -replace", "on-click-right": "~/.config/ml4w/scripts/keybindings.sh", "tooltip": false }, // Power Menu "custom/exit": { "format": "", "tooltip-format": "Powermenu", "on-click": "~/.config/ml4w/scripts/wlogout.sh", "tooltip": false }, // Keyboard State "keyboard-state": { "numlock": true, "capslock": true, "format": "{name} {icon}", "format-icons": { "locked": "", "unlocked": "" } }, // System tray "tray": { // "icon-size": 21, "spacing": 10 }, // Clock "clock": { "timezone": "Europe/Moscow", "tooltip-format": "{:%Y %B}\n{calendar}", "format": "{:%R | %d %b}", "format-alt": "{:%d.%m.%Y}" }, // System "custom/system": { "format": "", "tooltip": false }, // CPU "cpu": { "format": "/ C {usage}% ", "on-click": "alacritty -e htop" }, // Memory "memory": { "format": "/ M {}% ", "on-click": "alacritty -e htop" }, // Harddisc space used "disk": { "interval": 30, "format": "D {percentage_used}% ", "path": "/", "on-click": "alacritty -e htop" }, "hyprland/language": { "format": "{short}", "format-alt": "{long}" }, // Group Hardware "group/hardware": { "orientation": "inherit", "drawer": { "transition-duration": 300, "children-class": "not-memory", "transition-left-to-right": false }, "modules": [ "custom/system", "disk", "cpu", "memory", "hyprland/language" ] }, // Network "network": { "format": "{ifname}", "format-wifi": " {signalStrength}%", "format-ethernet": " {ipaddr}", "format-disconnected": "Not connected", //An empty format will hide the module. "tooltip-format": " {ifname} via {gwaddri}", "tooltip-format-wifi": " {essid} ({signalStrength}%)", "tooltip-format-ethernet": " {ifname} ({ipaddr}/{cidr})", "tooltip-format-disconnected": "Disconnected", "max-length": 50, "on-click": "alacritty -e nmtui" }, // Battery "battery": { "states": { // "good": 95, "warning": 30, "critical": 15 }, "format": "{icon} {capacity}%", "format-charging": " {capacity}%", "format-plugged": " {capacity}%", "format-alt": "{icon} {time}", // "format-good": "", // An empty format will hide the module // "format-full": "", "format-icons": [" ", " ", " ", " ", " "] }, // Pulseaudio "pulseaudio": { // "scroll-step": 1, // %, can be a float "format": "{icon} {volume}%", "format-bluetooth": "{volume}% {icon} {format_source}", "format-bluetooth-muted": " {icon} {format_source}", "format-muted": " {format_source}", "format-source": "{volume}% ", "format-source-muted": "", "format-icons": { "headphone": "", "hands-free": "", "headset": "", "phone": "", "portable": "", "car": "", "default": ["", " ", " "] }, "on-click": "pavucontrol", "on-click-right": "pactl set-sink-mute @DEFAULT_SINK@ toggle" }, // Bluetooth "bluetooth": { "format-disabled": "", "format-off": "", "interval": 30, "on-click": "blueman-manager", "format-no-controller": "" }, // Other "user": { "format": "{user}", "interval": 60, "icon": false, }, // Idle Inhibator "idle_inhibitor": { "format": "{icon}", "tooltip": true, "format-icons":{ "activated": "", "deactivated": "" }, "on-click-right": "hyprlock" }, "custom/brightness": { "format": "{}%", "exec": "expr $(brightnessctl g) / 960", "on-scroll-up": "brightnessctl s $(expr $(brightnessctl g) + 960)", "on-scroll-down": "brightnessctl s $(expr $(brightnessctl g) - 960)", "interval": 1 }, "custom/weather": { "exec": "curl -s 'wttr.in/Moscow?format=1'" } }