dotfiles/config/waybar-hyprland/config

164 lines
5.1 KiB
Text
Raw Normal View History

{
"layer": "top",
"position": "bottom",
"margin-bottom": 10,
"margin-left": 10,
"margin-right": 10,
2023-05-08 18:53:40 +02:00
"modules-left": ["wlr/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"],
"wlr/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": "󰂚",
2023-05-02 19:08:02 +02:00
"none": "󰂚",
"dnd-notification": "󰂛",
2023-05-02 19:08:02 +02:00
"dnd-none": "󰂛",
"inhibited-notification": "󰂚",
2023-05-02 19:08:02 +02:00
"inhibited-none": "󰂚",
"dnd-inhibited-notification": "󰂛",
2023-05-02 19:08:02 +02:00
"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 --output-volume=raise",
"on-scroll-down": "swayosd --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 --input-volume=raise",
"on-scroll-down": "swayosd --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,
2023-05-02 19:08:02 +02:00
"format": "󰻠 {}%"
},
"memory": {
"tooltip": false,
2023-05-02 19:08:02 +02:00
"format": "󰍛 {}%"
},
"clock": {
"format": " {:%Y-%m-%d | %H:%M:%S}",
"interval": 1,
"tooltip-format": "<tt><small>{calendar}</small></tt>",
"calendar": {
"mode" : "year",
"mode-mon-col" : 3,
"weeks-pos" : "right",
"on-scroll" : 1,
"on-click-right": "mode",
"format": {
"months": "<span color='#ffead3'><b>{}</b></span>",
"days": "<span color='#ecc6d9'><b>{}</b></span>",
"weeks": "<span color='#99ffdd'><b>W{}</b></span>",
"weekdays": "<span color='#ffcc66'><b>{}</b></span>",
"today": "<span color='#ff6699'><b><u>{}</u></b></span>"
}
},
"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