Closed mrjncsk closed 4 months ago
Actually, I still see this problem with 0.41.1, which, I seem to understand, should contain the fix.
I certainly don't, can you post your waybar config?
"wlr/taskbar": {
"format": "{icon}",
"icon-size": 16,
//"icon-theme": "Numix-Circle",
"tooltip-format": "{title}",
"on-click": "activate",
"on-click-middle": "close"
},
do you need the full config or is the taskbar enough?
your config does work on my end.
mh... then I wouldn't know... even running it from a terminal doesn't show any specific message...
just in case, that's the whole configuration
{
"layer": "top", // Waybar at top layer
// "position": "bottom", // Waybar position (top|bottom|left|right)
"height": 30, // Waybar height (to be removed for auto height)
// "width": 1280, // Waybar width
"spacing": 4, // Gaps between modules (4px)
// Choose the order of the modules
"modules-left": ["hyprland/workspaces", "cpu", "memory", "temperature", "disk", "wlr/taskbar"],
"modules-center": ["hyprland/window"],
// "keyboard-state" requires the user to be in the group "input", (sudo usermod -aG input $USER)
"modules-right": ["idle_inhibitor", "pulseaudio", "backlight", "battery", "clock", "keyboard-state", "tray", "custom/power"],
// Modules configuration
// https://github.com/Alexays/Waybar/issues/2471
// In Hyprland v0.29.1 support for the ext_workspace_v1 protocol has been dropped, thus:
// wlr/workspaces -> hyprland/workspaces
"hyprland/workspaces": {
//"format": "{icon}",
"format": "{name}",
"on-scroll-up": "hyprctl dispatch workspace e+1",
"on-scroll-down": "hyprctl dispatch workspace e-1",
"on-click": "activate",
},
// "wlr/workspaces": {
// "disable-scroll": true,
// "all-outputs": true,
// "format": "{name}: {icon}",
// "format-icons": {
// "1": "",
// "2": "",
// "3": "",
// "4": "",
// "5": "",
// "urgent": "",
// "focused": "",
// "default": ""
// }
// },
"wlr/taskbar": {
"format": "{icon}",
"icon-size": 16,
//"icon-theme": "Numix-Circle",
"tooltip-format": "{title}",
"on-click": "activate",
"on-click-middle": "close"
},
"keyboard-state": {
"numlock": true,
"capslock": true,
"format": {
"numlock": "N {icon}",
"capslock": "C {icon}"
},
"format-icons": {
"locked": "",
"unlocked": ""
}
},
"sway/mode": {
"format": "<span style=\"italic\">{}</span>"
},
"sway/scratchpad": {
"format": "{icon} {count}",
"show-empty": false,
"format-icons": ["", ""],
"tooltip": true,
"tooltip-format": "{app}: {title}"
},
"mpd": {
"format": "{stateIcon} {consumeIcon}{randomIcon}{repeatIcon}{singleIcon}{artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) ⸨{songPosition}|{queueLength}⸩ {volume}% ",
"format-disconnected": "Disconnected ",
"format-stopped": "{consumeIcon}{randomIcon}{repeatIcon}{singleIcon}Stopped ",
"unknown-tag": "N/A",
"interval": 2,
"consume-icons": {
"on": " "
},
"random-icons": {
"off": "<span color=\"#f53c3c\"></span> ",
"on": " "
},
"repeat-icons": {
"on": " "
},
"single-icons": {
"on": "1 "
},
"state-icons": {
"paused": "",
"playing": ""
},
"tooltip-format": "MPD (connected)",
"tooltip-format-disconnected": "MPD (disconnected)"
},
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
"activated": "",
"deactivated": ""
}
},
"tray": {
// "icon-size": 21,
"spacing": 10
},
"clock": {
// "timezone": "America/New_York",
"format": "{:%H:%M %Y-%m-%d}",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"format-alt": "{:%Y-%m-%d}"
},
"cpu": {
"format": "{usage}% ",
"tooltip": false
},
"memory": {
"format": "{}% "
},
"temperature": {
// "thermal-zone": 2,
// "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
"critical-threshold": 80,
// "format-critical": "{temperatureC}°C {icon}",
"format": "{temperatureC}°C {icon}",
"format-icons": ["", "", ""]
},
"disk": {
"interval": 60,
"format": " {free}",
},
"backlight": {
// "device": "acpi_video1",
"format": "{percent}% {icon}",
// see https://github.com/Alexays/Waybar/issues/2192#issuecomment-1694118304
"format-icons": ["🌑", "🌘", "🌗", "🌖", "🌕"]
},
"battery": {
"states": {
// "good": 95,
"warning": 30,
"critical": 15
},
"format": "{capacity}% {icon}",
"format-charging": "{capacity}% ",
"format-plugged": "{capacity}% ",
"format-alt": "{time} {icon}",
// "format-good": "", // An empty format will hide the module
// "format-full": "",
"format-icons": ["", "", "", "", ""]
},
"battery#bat2": {
"bat": "BAT2"
},
"network": {
// "interface": "wlp2*", // (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}"
// "format-alt": " {bandwidthUpBits} | {bandwidthDownBits}"
},
"pulseaudio": {
// "scroll-step": 1, // %, can be a float
"format": "{volume}% {icon} {format_source}",
"format-bluetooth": "{volume}% {icon} {format_source}",
"format-bluetooth-muted": " {icon} {format_source}",
"format-muted": " {format_source}",
"format-source": "{volume}% ",
"format-source-muted": "",
"format-icons": {
"headphone": "",
"hands-free": "",
"headset": "",
"phone": "",
"portable": "",
"car": "",
"default": ["", "", ""]
},
"on-click": "pavucontrol"
},
"custom/media": {
"format": "{icon} {}",
"return-type": "json",
"max-length": 40,
"format-icons": {
"spotify": "",
"default": "🎜"
},
"escape": true,
"exec": "$HOME/.config/waybar/mediaplayer.py 2> /dev/null" // Script in resources folder
// "exec": "$HOME/.config/waybar/mediaplayer.py --player spotify 2> /dev/null" // Filter player based on name
},
"custom/power": {
"format": " ⏻ ",
"tooltip": false,
"on-click": "wlogout --protocol layer-shell"
}
}
make sure you're on 0.41.1 by verifying hyprctl version
Added this snippet of config to mine and it works too on latest git.
EDIT: shows up on one monitor only, though. (not familiar with the protocol or module and if thats intentional)
EDIT2: The buttons are there on the additional monitors and you can interact with them, but it's not rendering the images.
idk that one sounds like a waybar issue if anything? I know @outfoxxed is working on something similar so if quickshell works then it's a waybar issue
idk that one sounds like a waybar issue if anything? I know @outfoxxed is working on something similar so if quickshell works then it's a waybar issue
That's what I was wondering. I'd probably just create an upstream issue. I haven't worked in the wlr modules before so I'm not familiar with that one.
make sure you're on 0.41.1 by verifying
hyprctl version
@vaxerski my bad: I was sure it was 0.41.1, but on Arch it's updated to 0.41.0-1
. Sorry, I was misled O:)
@khaneliman slightly off-topic: I see you have workspaces on waybar with the windows in that workspace, is that right? Would you mind sharing your configuration?
@khaneliman slightly off-topic: I see you have workspaces on waybar with the windows in that workspace, is that right? Would you mind sharing your configuration?
@khaneliman slightly off-topic: I see you have workspaces on waybar with the windows in that workspace, is that right? Would you mind sharing your configuration?
Thanks! But apparently, you cannot show icons, only characters, so one should write lots of rewriting rules. Something to work on in the future :)
@khaneliman slightly off-topic: I see you have workspaces on waybar with the windows in that workspace, is that right? Would you mind sharing your configuration?
Thanks! But apparently, you cannot show icons, only characters, so one should write lots of rewriting rules. Something to work on in the future :)
Yeah, it's something I'd like to implement for sure.
@khaneliman slightly off-topic: I see you have workspaces on waybar with the windows in that workspace, is that right? Would you mind sharing your configuration?
Thanks! But apparently, you cannot show icons, only characters, so one should write lots of rewriting rules. Something to work on in the future :)
Yeah, it's something I'd like to implement for sure.
I actually meant: to properly define one own's nice waybar, one should carefully write several rewrite rules (as you did in your configuration). I didn't mean that you should work on icon management in that module, but of course that would be cool! ;)
Hi, just installed new arch hyprland packet 0.41.1-1 wich fixed the issue. thank you verry much for your awsome work!
Bug or Regression?
Bug
System Info and Version
since Hyprland 41.0 Date 11.06.2024 Waybar 0.10.3
Hyprland, built from branch at commit ea2501d4556f84d3de86a4ae2f4b22a474555b9f (props: bump version to 0.41.0). Date: Mon Jun 10 14:23:06 2024 Tag: v0.41.0, commits: 4794
System Information: System name: Linux Release: 6.6.32-1-lts Version: #1 SMP PREEMPT_DYNAMIC Sat, 25 May 2024 20:20:51 +0000
GPU information: 00:02.0 VGA compatible controller [0300]: Intel Corporation TigerLake-LP GT2 [Iris Xe Graphics] [8086:9a49] (rev 01) (prog-if 00 [VGA controller])
os-release: NAME="EndeavourOS" PRETTY_NAME="EndeavourOS" ID="endeavouros" ID_LIKE="arch" BUILD_ID="2023.05.28" ANSI_COLOR="38;2;23;147;209"
plugins: no
======Config-Start======
Config File: /home/mrjn/.config/hypr/hyprland.conf: Read Succeeded
Description
Taskbar is emty
3 Monitors: vertical, horizontal, vertical individual bars per Monitor
How to reproduce
Module Config: (testet different options)