From 01d12be9dc6367c1b109caff5baa29b9e2084220 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=C3=ADn=20Pizarro?= Date: Wed, 25 Dec 2024 13:11:22 -0300 Subject: [PATCH 1/2] feat: Blur is added to the waybar from a layerrule, this way the waybar uses the blur configured in the system (It is recommended to configure a white background with opacity 0.1 to correctly visualize the effect) --- share/dotfiles/.config/hypr/conf/ml4w.conf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/share/dotfiles/.config/hypr/conf/ml4w.conf b/share/dotfiles/.config/hypr/conf/ml4w.conf index f37d9d9b..bca791fa 100644 --- a/share/dotfiles/.config/hypr/conf/ml4w.conf +++ b/share/dotfiles/.config/hypr/conf/ml4w.conf @@ -88,6 +88,9 @@ windowrulev2 = size 1000 700,class:(dotfiles-floating) windowrulev2 = center,class:(dotfiles-floating) windowrulev2 = pin, class:(dotfiles-floating) +# Blur for waybar +#layerrule = blur, waybar + # XDG Desktop Portal env = XDG_CURRENT_DESKTOP,Hyprland env = XDG_SESSION_TYPE,wayland @@ -121,4 +124,4 @@ env = OZONE_PLATFORM,wayland env = ELECTRON_OZONE_PLATFORM_HINT,wayland # Python -env = PYTHONPATH,/usr/lib/python3.12/site-packages:/usr/lib/python3.13/site-packages:$PYTHONPATH \ No newline at end of file +env = PYTHONPATH,/usr/lib/python3.12/site-packages:/usr/lib/python3.13/site-packages:$PYTHONPATH From c3dffdd289fa99d74283b0043a37c507959ddd2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=C3=ADn=20Pizarro?= Date: Wed, 25 Dec 2024 14:50:51 -0300 Subject: [PATCH 2/2] fix: blur layerrule changed to custom.conf file --- share/dotfiles/.config/hypr/conf/custom.conf | 3 +++ share/dotfiles/.config/hypr/conf/ml4w.conf | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/share/dotfiles/.config/hypr/conf/custom.conf b/share/dotfiles/.config/hypr/conf/custom.conf index 885b6e0d..1e24aae9 100644 --- a/share/dotfiles/.config/hypr/conf/custom.conf +++ b/share/dotfiles/.config/hypr/conf/custom.conf @@ -19,3 +19,6 @@ env = SDL_VIDEODRIVER,wayland # cursor { # no_hardware_cursors = false # } + +# Blur for waybar +#layerrule = blur, waybar \ No newline at end of file diff --git a/share/dotfiles/.config/hypr/conf/ml4w.conf b/share/dotfiles/.config/hypr/conf/ml4w.conf index bca791fa..c554228d 100644 --- a/share/dotfiles/.config/hypr/conf/ml4w.conf +++ b/share/dotfiles/.config/hypr/conf/ml4w.conf @@ -88,9 +88,6 @@ windowrulev2 = size 1000 700,class:(dotfiles-floating) windowrulev2 = center,class:(dotfiles-floating) windowrulev2 = pin, class:(dotfiles-floating) -# Blur for waybar -#layerrule = blur, waybar - # XDG Desktop Portal env = XDG_CURRENT_DESKTOP,Hyprland env = XDG_SESSION_TYPE,wayland