From 7bf77d09f6c8ea017f2e6d3bc84fd2283e8c970b Mon Sep 17 00:00:00 2001 From: Logan G Date: Sat, 8 Apr 2023 01:50:26 -0600 Subject: [PATCH] Improved Hyprland support --- .config/waybar/hyprland | 12 ++++++++++++ .config/waybar/modules | 9 +++++++++ 2 files changed, 21 insertions(+) create mode 100644 .config/waybar/hyprland diff --git a/.config/waybar/hyprland b/.config/waybar/hyprland new file mode 100644 index 0000000..23d3bb3 --- /dev/null +++ b/.config/waybar/hyprland @@ -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", +} diff --git a/.config/waybar/modules b/.config/waybar/modules index eea76a2..3875e40 100644 --- a/.config/waybar/modules +++ b/.config/waybar/modules @@ -13,6 +13,15 @@ "tooltip": false }, + "hyprland/window": { + "max-length": 80, + "tooltip": false + }, + + "wlr/workspaces": { + "format": "{name}" + }, + "clock": { "format": "{:%a %d %b %H:%M:%S}", "format-alt": "{:%H:%M:%S}",