hypr-dotfiles/waybar/config

80 lines
1.8 KiB
Text

// -*- mode: jsonc -*-
{
"spacing": 4,
"modules-left": [
"custom/menu",
"hyprland/workspaces",
"hyprland/window"
],
"modules-center": [
"clock"
],
"modules-right": [
"custom/date",
"wireplumber",
"network",
"hyprland/language",
"custom/power"
],
"hyprland/workspaces": {
"disable-scroll": true,
"all-outputs": true,
"warp-on-scroll": false,
"format": "{name}",
"format-icons": {
"urgent": "",
"active": "",
"default": ""
}
},
"custom/menu": {
"format": " 󰣇 ",
"tooltip": false,
"on-click": "$HOME/.config/hypr/scripts/launch-menu.sh"
},
"hyprland/language": {
"format": "<big>󰌌</big> {long}",
"format-us": "US",
"format-se": "SE",
"format-kr": "KR",
"keyboard-name": "typematrix.com-usb-keyboard",
"on-click": "hyprctl switchxkblayout all next"
},
"clock": {
"format": "{:%H:%M}",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"on-click": "gnome-clocks"
},
"wireplumber": {
"format": " {volume}% · {node_name}",
"format-muted": "",
"reverse-scrolling": 1,
"on-click": "$HOME/.config/tofi/select_audio.py"
},
"network": {
"format-wifi": " {essid}",
"format-ethernet": "󰈀 Wired",
"on-click": "kitty -e nmtui"
},
"custom/date": {
"format": "{}",
"exec": "date +\"<big>󰸗</big> %A %Y-%m-%d\"",
"on-click": "gnome-calendar",
"interval": 60
},
"custom/power": {
"format": " ⏻ ",
"tooltip": false,
"on-click": "wlogout --protocol layer-shell"
}
}