{
"layer": "top",
"position": "bottom",
"margin-bottom": 10,
"margin-left": 10,
"margin-right": 10,
"modules-left": ["hyprland/workspaces", "hyprland/language", "keyboard-state", "hyprland/submap", "hyprland/window"],
"modules-center": ["tray", "custom/notifications", "clock"],
"modules-right": ["network", "pulseaudio#output", "pulseaudio#input", "temperature", "cpu", "memory"],
"hyprland/workspaces": {
"disable-scroll": true,
"all-outputs": true,
"format": "{icon} {name}",
"format-icons": {
"1": "",
"3": "",
"4": "",
"5": "",
"urgent": "",
"focused": "",
"default": ""
},
"on-scroll-up": "hyprctl dispatch workspace e-1",
"on-scroll-down": "hyprctl dispatch workspace e+1",
"on-click": "activate",
"sort-by-number": true
},
"hyprland/submap": {
"format": " {}"
},
"hyprland/window": {
"separate-out puts": true,
"format": " {}"
},
"tray": {
"spacing": 8
},
"custom/notifications": {
"tooltip": false,
"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
},
"pulseaudio#output": {
"format": "{icon} {volume}%",
"format-bluetooth": " {volume}%",
"format-bluetooth-muted": " {volume}%",
"format-muted": " {volume}%",
"format-icons": {
"headphone": " ",
"hands-free": " ",
"headset": " ",
"phone": " ",
"portable": " ",
"car": " ",
"default": ["", "", ""]
},
"on-click": "pavucontrol -t 3",
"on-scroll-up": "swayosd-client --output-volume=raise",
"on-scroll-down": "swayosd-client --output-volume=lower"
},
"pulseaudio#input": {
"format": "{format_source}",
"format-source": " {volume}%",
"format-source-muted": " {volume}%",
"format-icons": {
"headphone": " ",
"hands-free": " ",
"headset": " ",
"phone": " ",
"portable": " ",
"car": " ",
"default": ["", "", ""]
},
"on-click": "pavucontrol -t 4",
"on-scroll-up": "swayosd-client --input-volume=raise",
"on-scroll-down": "swayosd-client --input-volume=lower"
},
"temperature": {
"thermal-zone": 2,
"hwmon-path": "/sys/class/hwmon/hwmon0/temp1_input",
"critical-threshold": 80,
"format-critical": "{icon} {temperatureC}°C",
"format": "{icon} {temperatureC}°C",
"format-icons": ["", "", ""]
},
"network": {
"interface": "eth1", // (Optional) To force the use of this interface
"format-wifi": " {essid} ({signalStrength}%)",
"format-ethernet": " {ipaddr}/{cidr}",
"tooltip-format": " {ifname} via {gwaddr}",
"format-linked": " {ifname} (No IP)",
"format-disconnected": " Disconnected",
"format-alt": " {ifname}: {ipaddr}/{cidr}"
},
"cpu": {
"tooltip": false,
"format": " {}%"
},
"memory": {
"tooltip": false,
"format": " {}%"
},
"clock": {
"format": " {:%Y-%m-%d | %H:%M:%S}",
"interval": 1,
"tooltip-format": "{calendar}",
"calendar": {
"mode" : "year",
"mode-mon-col" : 3,
"weeks-pos" : "right",
"on-scroll" : 1,
"on-click-right": "mode",
"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"
}
},
"keyboard-state": {
"numlock": true,
"capslock": true,
"format": {
"capslock": "C {icon} ",
"numlock": "N {icon} "
},
"format-icons": {
"locked": "",
"unlocked": ""
}
},
"hyprland/language": {
"format": " {}",
"format-fr": "FR"
}
}
// vim: set ft=json