2023-05-28 19:23:05 -04:00
|
|
|
{
|
|
|
|
"height": 20,
|
|
|
|
"margin-top":5,
|
|
|
|
"margin-left":5,
|
|
|
|
"margin-right":5,
|
2023-06-19 20:51:55 -04:00
|
|
|
"layer":"top",
|
2023-05-28 19:23:05 -04:00
|
|
|
"spacing": 1,
|
2023-06-06 11:45:04 -04:00
|
|
|
"modules-left": ["custom/osk", "custom/tablet", "wlr/workspaces", "tray", "custom/mowayah"],
|
|
|
|
"modules-center": ["hyprland/window"],
|
2023-06-08 01:26:21 -04:00
|
|
|
"modules-right": ["pulseaudio", "backlight", "battery", "clock", "custom/notif", "custom/quicksettings"],
|
2023-05-28 19:23:05 -04:00
|
|
|
"tray": {
|
|
|
|
"icon-size": 26,
|
|
|
|
"spacing": 5
|
|
|
|
},
|
|
|
|
"clock": {
|
2023-05-29 15:59:55 -04:00
|
|
|
"on-click": "$HOME/.config/waybar/scripts/date-toggle.sh",
|
|
|
|
//"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
|
|
|
//"format-alt": "{:%Y-%m-%d}"
|
2023-05-28 19:23:05 -04:00
|
|
|
},
|
|
|
|
"cpu": {
|
|
|
|
"format": "{usage}% ",
|
|
|
|
"tooltip": false
|
|
|
|
},
|
|
|
|
"memory": {
|
|
|
|
"interval": 30,
|
|
|
|
"format": "{used:0.1f}G/{total:0.1f}G "
|
|
|
|
},
|
|
|
|
"backlight": {
|
|
|
|
// "device": "acpi_video1",
|
|
|
|
"format": "{percent}% {icon}",
|
|
|
|
"format-icons": ["🌑","🌒","🌒","🌓","🌓","🌔","🌔","🌕","🌕"]
|
|
|
|
},
|
|
|
|
"battery": {
|
|
|
|
"states": {
|
|
|
|
// "good": 95,
|
|
|
|
"warning": 30,
|
|
|
|
"critical": 15
|
|
|
|
},
|
|
|
|
"format": "{capacity}% {icon}",
|
|
|
|
"format-charging": "{capacity}%⚡",
|
|
|
|
"format-plugged": "{capacity}% ",
|
|
|
|
"format-alt": "{time} {icon}",
|
|
|
|
"format-icons": [" ", " ", " ", " ", " "]
|
|
|
|
},
|
|
|
|
"network": {
|
|
|
|
"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}"
|
|
|
|
},
|
|
|
|
"pulseaudio": {
|
|
|
|
"format": "{volume}% {icon}",
|
|
|
|
"format-bluetooth": "{volume}% {icon}",
|
|
|
|
"format-bluetooth-muted": " {icon}",
|
|
|
|
"format-muted": " ",
|
|
|
|
"format-source": "{volume}% ",
|
|
|
|
"format-source-muted": "",
|
|
|
|
"format-icons": {
|
2023-06-19 20:51:55 -04:00
|
|
|
"headphones": "<span font_family='Font Awesome 6 Free'></span>",
|
|
|
|
"hands-free": "",
|
2023-05-28 19:23:05 -04:00
|
|
|
"headset": "",
|
|
|
|
"phone": "",
|
|
|
|
"portable": "",
|
|
|
|
"car": "",
|
|
|
|
"default": ["", "", ""]
|
|
|
|
},
|
|
|
|
"on-click": "amixer -D pipewire sset Master toggle-mute"
|
|
|
|
},
|
|
|
|
"custom/osk": {
|
|
|
|
"format":" ",
|
2023-06-08 01:26:21 -04:00
|
|
|
"on-click": "$HOME/.config/hypr/scripts/tablet/osk-toggle.sh",
|
2023-05-28 19:23:05 -04:00
|
|
|
"restart-interval": 1,
|
|
|
|
},
|
|
|
|
|
|
|
|
"custom/quicksettings": {
|
|
|
|
"format":" ",
|
2023-05-28 19:54:01 -04:00
|
|
|
"on-click": "$HOME/.config/waybar/scripts/quick-toggle.sh",
|
2023-05-28 19:23:05 -04:00
|
|
|
"restart-interval": 1,
|
2023-06-06 11:45:04 -04:00
|
|
|
|
|
|
|
},
|
|
|
|
"wlr/workspaces": {
|
|
|
|
//"format": "{icon}",
|
|
|
|
"on-click": "activate",
|
|
|
|
"format-icons": {
|
|
|
|
"1": "",
|
|
|
|
"2": "",
|
|
|
|
"3": "",
|
|
|
|
"4": "",
|
|
|
|
"4": "",
|
|
|
|
"urgent": "",
|
|
|
|
"active": "",
|
|
|
|
"default": ""
|
|
|
|
}
|
2023-05-28 19:23:05 -04:00
|
|
|
},
|
2023-06-08 01:26:21 -04:00
|
|
|
|
2023-05-28 19:23:05 -04:00
|
|
|
"custom/tablet": {
|
|
|
|
"format":" ",
|
2023-06-08 01:26:21 -04:00
|
|
|
//"on-click": "$HOME/.config/hypr/scripts/tablet/tablet-toggle.sh",
|
2023-05-28 19:23:05 -04:00
|
|
|
"restart-interval": 1,
|
|
|
|
},
|
2023-06-08 01:26:21 -04:00
|
|
|
|
|
|
|
"custom/notif": {
|
|
|
|
"format": " "
|
|
|
|
},
|
2023-05-28 19:23:05 -04:00
|
|
|
|
|
|
|
"custom/mowayah": {
|
|
|
|
"exec": "$HOME/.config/waybar/scripts/heart.sh",
|
|
|
|
"on-click": "$HOME/.config/waybar/scripts/toggle-heart.sh",
|
|
|
|
"restart-interval": 1,
|
|
|
|
}
|
|
|
|
}
|