{ "hyprland/window": { "format": "{}", "rewrite": { "(.*) - Chromium": " $1", "(.*) - Discord": " $1", "(.*) - Thunar": " $1", "class": " Terminal", "AyuGram": " Telegram", "Steam": " Steam", "WhatsDesk": " WhatsDesk", "class": " Discord", "class": "󰕧 Open Broadcast Software" }, "icon": false, "separate-output": true }, "hyprland/workspaces": { "disable-scroll": true, "active-only": false, "all-outputs": true, "on-click": "activate", "format": "{name}{icon}{windows}", "format-icons": { "urgent": "  ", "default": " ", "empty": "" }, "window-rewrite": { "WhatsDesk": " ", "class": " ", "class<.*chromium>": " ", "class": " ", "class": " ", "class": " ", "class": "󱓧 ", "class": " ", "class": " ", "class": " ", "class": " ", "class": " ", "class": "󰊗 ", "class": "󰊗 ", "title": "󰊗 ", "title<.*YouTube Music>": " ", "title<.*YouTube>": " ", "title": " ", "title": " ", "class": "󰕧 ", "class": "󰊗 ", "class<.*>": " " }, "persistent-workspaces": { "*": 10, "HDMI-A-1": [ 11, 12 ], "DP-1": [ 11, 12 ] } }, "tray": { "icon-size": 16, "spacing": 10 }, "clock": { // "interval": 1, // "format": "{:%H:%M:%S}", // "locale": "it_IT.UTF-8", // "tooltip-format": "{calendar}", // "format-alt": "{:L%a %d/%m/%y (%H:%M:%S)}", // "calendar": { // "mode": "month", // "mode-mon-col": 3, // "weeks-pos": "right", // "on-scroll": 1, // "format": { // "months": "{}", // "days": "{}", // "weeks": "W{}", // "weekdays": "{}", // "today": "{}" // } // } "format": "{:%H:%M}  ", "format-alt": "{:L%A, %B %d, %Y (%R)}  ", "tooltip-format": "\n{calendar}", "calendar": { "mode": "year", "mode-mon-col": 3, "weeks-pos": "right", "on-scroll": 1, "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" } }, "temperature": { "thermal-zone": 7, "interval": 5, "format": "{icon}{temperatureC}°C", "format-icons": [ " " ], "format-alt-click": "click-right", "critical-threshold": 80, "format-critical": " {temperatureC}°C", "on-click": "kitty --title btop sh -c 'btop'", "tooltip-format": "CPU temperature", "tooltip": true }, "network": { // "interface": "wlp2*", // (Optional) To force the use of this interface // internet speed: " "format-wifi": "{essid} ({signalStrength}%)  ", "format-ethernet": "{ipaddr}/{cidr} ", "tooltip-format": "{ifname}: via {gwaddr} \ndown/up:  {bandwidthDownBytes}  {bandwidthUpBytes}", "format-linked": "{ifname} (No IP) ", "format-disconnected": "Disconnesso 󰌙", "format-alt": "{ifname}: {ipaddr}/{cidr}", "interval": 1, "on-click-right": "kitty -e nmtui", "max-length": 30 }, "custom/updates": { //"format": " {}", "format": " {}", // "tooltip-format": "Aggiorna il Sistema\nPacchetti: {}", "escape": true, "return-type": "json", "exec": "~/.config/waybar/scripts/updates.sh", "restart-interval": 3600, "on-click": "kitty --title Updates sh -c ~/.config/waybar/scripts/installaupdates.sh", "on-click-right": "kitty --title 'Installed packages' sh -c ~/.config/waybar/scripts/listpackages.sh", "tooltip": true }, "custom/swaync": { "format": "{icon}", "format-icons": { "notification": "", "none": " ", "dnd-notification": "", "dnd-none": " " }, "return-type": "json", "exec-if": "which swaync-client", "exec": "swaync-client -swb", "on-click": "sleep 0.1 && swaync-client -t -sw", "escape": true, "tooltip": false }, "custom/wl-gammarelay-temperature": { "format": "{} {icon}", "format-alt": "{icon}", "format-icons": [ "" ], "exec": "wl-gammarelay --subscribe Temperature", "on-scroll-up": "busctl --user -- call rs.wl-gammarelay / rs.wl.gammarelay UpdateTemperature n +100", "on-scroll-down": "busctl --user -- call rs.wl-gammarelay / rs.wl.gammarelay UpdateTemperature n -100", "tooltip-format": "Temperatura Schermo: {} K", "tooltip": true }, "custom/media": { "format": "{}", "escape": true, "return-type": "json", "max-length": 40, "on-click": "playerctl play-pause", "on-click-right": "playerctl stop", "smooth-scrolling-threshold": 10, // This value was tested using a trackpad, it should be lowered if using a mouse. "on-scroll-up": "playerctl next", "on-scroll-down": "playerctl previous", "exec": "~/.config/waybar/scripts/mediaplayer.py", // Script in resources/custom_modules folder "tooltip": true, "tooltip-format": "{}" } }