Improved Hyprland support

This commit is contained in:
Logan G 2023-04-08 01:50:26 -06:00
parent 072b394a03
commit 7bf77d09f6
Signed by untrusted user: logan
GPG key ID: E328528C921E7A7A
2 changed files with 21 additions and 0 deletions

12
.config/waybar/hyprland Normal file
View file

@ -0,0 +1,12 @@
{
"layer": "bottom",
"position": "top",
"height": 20,
"modules-left": ["wlr/workspaces"],
"modules-center": ["hyprland/window"],
//"modules-right": ["tray", "custom/spotify", "custom/weather", "custom/mail", "custom/storage", "backlight", "pulseaudio", "network", "idle_inhibitor", "battery", "clock"],
"modules-right": ["pulseaudio", "backlight", "idle_inhibitor", "network", "battery", "clock", "tray"],
"include": "~/.config/waybar/modules",
}

View file

@ -13,6 +13,15 @@
"tooltip": false "tooltip": false
}, },
"hyprland/window": {
"max-length": 80,
"tooltip": false
},
"wlr/workspaces": {
"format": "{name}"
},
"clock": { "clock": {
"format": "{:%a %d %b %H:%M:%S}", "format": "{:%a %d %b %H:%M:%S}",
"format-alt": "{:%H:%M:%S}", "format-alt": "{:%H:%M:%S}",