{ "layer": "top", "position": "top", "mode": "dock", "exclusive": true, "passthrough": false, "gtk-layer-shell": true, "height": 40, "modules-left": [ "custom/launcher", "custom/hostname", "hyprland/workspaces" ], "modules-right": [ "custom/updates", "memory", "cpu", "network", "idle_inhibitor", "wireplumber", "hyprland/language", "custom/notification", "tray", "clock" ], "hyprland/language" :{ // "format": "{} ", "format-en": "", "format-fr": "󱌃" }, "custom/hostname" :{ "format": "{}", "return-type":"text", "exec": "hostnamectl hostname" }, "custom/updates": { "format": "{} ", "interval": 3600, "exec": "checkupdates | wc -l", "exec-if": "exit 0", "on-click": "ghostty --class=com.update paru; pkill -SIGRTMIN+8 waybar", "signal": 8 // "format": "{} {icon}", // "return-type": "json", // "format-icons": { // "has-updates": "󱍷", // "updated": "󰂪", // "updated": "󰂪", // "interval": 3600, // }, // "exec-if": "which waybar-module-pacman-updates", // "exec": "waybar-module-pacman-updates", // "on-click": "kitty --class update paru" }, "hyprland/workspaces": { "disable-scroll": true, "all-outputs": true, "on-click": "activate", }, "tray": { "icon-size": 21, "spacing": 10 }, "clock": { "format": " {:%H:%M}", "format-alt": " {:%Y-%m-%d  %H:%M}", "interval": 1, "rotate": 0, "tooltip-format": "{calendar}", "calendar": { "mode": "month", "mode-mon-col": 3, "on-scroll": 1, "on-click-right": "mode", "format": { "months": "{}", "weekdays": "{}", "today": "{}", "days": "{}" } } }, "wireplumber": { "format": "{icon} {volume} %", "format-muted": " Mute", "on-click": "$HOME/.config/hypr/scripts/Volume.sh --toggle", "on-click-right": "pavucontrol -t 3", "on-scroll-up": "$HOME/.config/hypr/scripts/Volume.sh --inc", "on-scroll-down": "$HOME/.config/hypr/scripts/Volume.sh --dec", "format-icons": [ "", "", "󰕾", "" ], }, "memory": { "states": { "c": 90, // critical "h": 60, // high "m": 30 // medium }, "interval": 10, "format": "󰾆 {used}GB", "format-m": "󰾅 {used}GB", "format-h": "󰓅 {used}GB", "format-c": " {used}GB", "format-alt": "󰾆 {percentage}%", "max-length": 10, "tooltip": true, "tooltip-format": "󰾆 {percentage}%\n {used:0.1f}GB/{total:0.1f}GB" }, "cpu": { "interval": 1, "format": "󰍛 {usage}%", "format-alt": "{icon0}{icon1}{icon2}{icon3}{icon4}{icon5}{icon6}{icon7}", "format-icons": [ "", // green "", // blue "", // white "", // white "", // yellow "", // yellow "", // orange "" // red ] }, "idle_inhibitor" : { "format": "{icon}", "tooltip": true, "format-icons":{ "activated":"󰈈 ", "deactivated":"󰈉 " }, "on-click-right":"hyprlock" }, "network": { "tooltip": true, "format-wifi": " {essid}", "format-ethernet": "󰈀 ", "tooltip-format": "Network: {essid}\nSignal strength: {signaldBm}dBm ({signalStrength}%)\nFrequency: {frequency}MHz\nInterface: {ifname}\nIP: {ipaddr}/{cidr}\nGateway: {gwaddr}\nNetmask: {netmask}", "format-linked": "󰈀 {ifname} (No IP)", "format-disconnected": "󰖪 ", "tooltip-format-disconnected": "Disconnected", "format-alt": " {bandwidthDownBytes}  {bandwidthUpBytes}", "interval": 2 }, "custom/launcher": { "format": " ", "on-click": "exec nwg-drawer -c 7 -is 96 -spacing 24", //"on-click": "~/.config/rofi/launchers/type-3/launcher.sh", "tooltip": false }, "custom/notification": { "tooltip": true, "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 } }