System/Version info
```sh
Hyprland, built from branch main at commit 2ead1fd22103ce065661555513bace5897083ded (virtual-keyboard: emit event before finishing keyboard).
Date: Fri May 17 21:07:33 2024
Tag: v0.40.0-111-g2ead1fd2, commits: 4717
flags: (if any)
System Information:
System name: Linux
Node name: beast
Release: 6.8.9-zen1-2-zen
Version: #1 ZEN SMP PREEMPT_DYNAMIC Tue, 07 May 2024 22:06:02 +0000
GPU information:
03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 22 [Radeon RX 6700/6700 XT/6750 XT / 6800M/6850M XT] [1002:73df] (rev df) (prog-if 00 [VGA controller])
os-release: NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo
plugins:
```
Bug or Regression?
Bug
Description
When booting up hyprland, waybar do not have transparency until launching a window.
Hyprland just booted up:
Hyprland and waybar after opening a window:
How to reproduce
You need to start a new hyprland session (without any window opened in the session) for waybar to be opaque. When a window is launched, it becomes transparent until the end of the session.
hyprland.conf needs the option layerrule = blur, waybar
waybar/config.jsonc needs to have the option "layer": "top",
With "layer": "bottom", there is no bug.
waybar/style.css needs transparency, for example: window#waybar { background-color: rgba(00,00,00,00); }
Waybar config:
config.jsoncstyle.css.txt (I had to call this style.css.txt instead of style.css because of github restrictions).
Hyprland Version
System/Version info
```sh Hyprland, built from branch main at commit 2ead1fd22103ce065661555513bace5897083ded (virtual-keyboard: emit event before finishing keyboard). Date: Fri May 17 21:07:33 2024 Tag: v0.40.0-111-g2ead1fd2, commits: 4717 flags: (if any) System Information: System name: Linux Node name: beast Release: 6.8.9-zen1-2-zen Version: #1 ZEN SMP PREEMPT_DYNAMIC Tue, 07 May 2024 22:06:02 +0000 GPU information: 03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 22 [Radeon RX 6700/6700 XT/6750 XT / 6800M/6850M XT] [1002:73df] (rev df) (prog-if 00 [VGA controller]) os-release: NAME="Arch Linux" PRETTY_NAME="Arch Linux" ID=arch BUILD_ID=rolling ANSI_COLOR="38;2;23;147;209" HOME_URL="https://archlinux.org/" DOCUMENTATION_URL="https://wiki.archlinux.org/" SUPPORT_URL="https://bbs.archlinux.org/" BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues" PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/" LOGO=archlinux-logo plugins: ```Bug or Regression?
Bug
Description
When booting up hyprland, waybar do not have transparency until launching a window.
Hyprland just booted up:![image](https://github.com/hyprwm/Hyprland/assets/16420574/beb8f41e-6350-474d-b0e0-8a43f9e3316f)
Hyprland and waybar after opening a window:![image](https://github.com/hyprwm/Hyprland/assets/16420574/45999930-adc3-437b-abc8-516e17cdda6f)
How to reproduce
You need to start a new hyprland session (without any window opened in the session) for waybar to be opaque. When a window is launched, it becomes transparent until the end of the session.
hyprland.conf needs the option
layerrule = blur, waybar
waybar/config.jsonc needs to have the option
"layer": "top",
With
"layer": "bottom",
there is no bug.waybar/style.css needs transparency, for example:
window#waybar { background-color: rgba(00,00,00,00); }
Waybar config: config.jsonc style.css.txt (I had to call this style.css.txt instead of style.css because of github restrictions).
Crash reports, logs, images, videos
No response