{ // Modules configuration "hyprland/workspaces": { "active-only": false, "all-outputs": false, "format": "{icon}", "persistent_workspaces": { "2": [], "3": [], "4": [], "5": [] }, "disable-scroll": true, "on-click": "activate" }, "hyprland/window": { "format": "{}", "max-length": 50, "tooltip": false }, "bluetooth": { "interval": 30, "format": "{icon}", "format-icons": { "enabled": "", "disabled": "" }, "on-click": "blueberry" }, "hyprland/language": { "format": " {}", "max-length": 5, "min-length": 5 }, "idle_inhibitor": { "format": "{icon}", "format-icons": { "activated": "", "deactivated": "" }, "tooltip": "true" }, "tray": { //"icon-size": 11, "spacing": 5 }, "clock": { "format": " {:%H:%M  %e %b}", "tooltip-format": "{:%Y %B}\n{calendar}", "today-format": "{}", "on-click": "gnome-calendar" }, "cpu": { "interval": "1", "format": " {max_frequency}GHz | {usage}%", "max-length": 13, "min-length": 13, "on-click": "kitty -e htop --sort-key PERCENT_CPU", "tooltip": false }, "temperature": { //"thermal-zone": 1, "interval": "4", "hwmon-path": "/sys/class/hwmon/hwmon3/temp1_input", "critical-threshold": 74, "format-critical": " {temperatureC}°C", "format": "{icon} {temperatureC}°C", "format-icons": ["", "", ""], "max-length": 7, "min-length": 7 }, "network": { "interface": "enp111s0", "format": "↗{bandwidthUpBytes} ↘ {bandwidthDownBytes}" }, "pulseaudio": { "scroll-step": 3, // %, can be a float "format": "{icon} {volume}% {format_source}", "format-bluetooth": "{volume}% {icon} {format_source}", "format-bluetooth-muted": " {icon} {format_source}", "format-muted": " {format_source}", "format-source": "", "format-source-muted": "", "format-icons": { "headphone": "", "hands-free": "", "headset": "", "phone": "", "portable": "", "car": "", "default": ["", "", ""] }, "on-click": "pavucontrol", "on-click-right": "pactl set-source-mute @DEFAULT_SOURCE@ toggle" }, "custom/pacman": { "format": "􏆲 {}", "interval": 3600, // every hour "exec": "checkupdates | wc -l", // # of updates "exec-if": "exit 0", // always run; consider advanced run conditions "on-click": "kitty -e 'yay'; pkill -SIGRTMIN+8 waybar", // update system "signal": 8, "max-length": 5, "min-length": 3 }, "custom/weather": { "exec": "~/.config/waybar/scripts/weather.sh", "interval": 3600, "return-type": "text" }, "custom/gpu": { "exec": "$HOME/.config/waybar/scripts/gpu_temp.sh", "format": " {}", "interval": 2, "tooltip": "{tooltip}", "max-length": 19, "min-length": 19, "on-click": "powerupp" }, "custom/cpugovernor": { "format": "{icon}", "interval": "30", "exec": "$HOME/.config/waybar/scripts/cpu_info.sh", "min-length": 2, "max-length": 2, "format-icons": { "perf": "", "sched": "" } }, "mpris": { "format": "{player_icon} [{title} - {artist}]", "format-paused": " [ {title} - {artist}] ", "player-icons": { "default": " ", "firefox": " " }, "max-length": 70, "scroll": true }, "custom/flagvpn": { "exec": "~/scripts/get_flag.sh", "interval": 60, "format": "{}" }, "custom/timer": { "exec": "/home/arthur/scripts/timer_module.sh", "interval": 1, "format":"{}", "return-type": "json" } }