hyprwm / hyprpicker

A wlroots-compatible Wayland color picker that does not suck.
BSD 3-Clause "New" or "Revised" License
670 stars 30 forks source link

Notifications are no longer blurred #66

Closed Ein420 closed 5 months ago

Ein420 commented 5 months ago

I added a few window rules, changed a few keybinds, and for some reason the notifications are no longer being blurred image

rules.conf

# ######## Window rules ########
#windowrule = noblur,.*
# windowrule = opacity 0.89 override 0.89 override, .* # Applies transparency to EVERY WINDOW
windowrule = float, ^(blueberry.py)$
windowrule = float, ^(steam)$
windowrule = float, ^(guifetch)$ # FlafyDev/guifetch
windowrulev2 = tile,class:(wps)
windowrulev2 = tile,class:(dev.warp.Warp)

windowrulev2 = opacity 0.0 override 0.0 override,class:^(xwaylandvideobridge)$
windowrulev2 = noanim,class:^(xwaylandvideobridge)$
windowrulev2 = nofocus,class:^(xwaylandvideobridge)$
windowrulev2 = noinitialfocus,class:^(xwaylandvideobridge)$

windowrule = float,^(ru-turikhay-tlauncher-bootstrap-Bootstrap)$
windowrule = float,title^(About Tor — Tor Browser)$
windowrule = center,title^(About Tor — Tor Browser)$
windowrule = float,title:^(Save File)$
windowrule = center,title:^(Save File)$
windowrule = float,^(Viewnior)$
windowrule = center,^(Viewnior)$
windowrule = float, nwg-look|qt5ct|mpv
windowrule = float,^(qt6ct)$
windowrule = center,^(qt6ct)$
windowrule = size 544 657,title:^(Qt6 Configuration Tool)$
windowrule = center,^(mpv)$
windowrule = noblur,^(brave)$
windowrule = float,^(org.kde.ark)$
windowrule = float,^(kvantummanager)$
windowrule = float,^(kitty)$
windowrule = float,^(Yad)$
windowrule = float,^(com.obsproject.Studio)$
windowrule = float,^(com.github.wwmm.easyeffects)$
windowrule = float,^(vlc)$
windowrule = float,^(imv)$
windowrule = float,^(visualboyadvance-m)$
windowrule = float,^(org.qbittorrent.qBittorrent)$
windowrule = float,^(org.kde.kdialog)$
windowrule = float,^(msiexec.exe)$
windowrule = float,^(7zFM)$
windowrule = float,^(7zfm)$
windowrule = float,^(org.kde.polkit-kde-authentication-agent-1)$
windowrule = float,^(woeusbgui)$
windowrule = float, wofi
windowrule = float,^(Lxappearance)$
windowrule = float,class:^(firefox)$,title:^(Picture-in-Picture)$
windowrule = float,title:^(Picture in picture)$
windowrule=float,pavucontrol-qt
windowrule=float,pavucontrol
windowrule = size 650 420,class:^(pavucontrol)$
windowrule=float,kcalc
windowrule=float,zoom

# windowrule=float, com-group_finity-mascot-Main
# windowrule=nobluZ, com-group_finity-mascot-Main
# windowrule=nofocus, com-group_finity-mascot-Main
# windowrule=noshadow, com-group_finity-mascot-Main
# windowrule=noborder, com-group_finity-mascot-Main

windowrulev2=windowdance,class:^(REAPER)$,title:^(menu)$
windowrulev2=forceinput,class:^(REAPER)$,title:^(menu)$

windowrule = size 640 420,^(AlacrittyF)$
windowrule = center,^(AlacrittyF)$
windowrule = float,^(AlacrittyF)$

windowrule = size 620 420,title:^(foot)$
windowrule = center,title:^(foot)$
windowrule = float,title:^(foot)$

# Dialogs
windowrule=float,title:^(Open File)(.*)$
windowrule=float,title:^(Select a File)(.*)$
windowrule=float,title:^(Choose wallpaper)(.*)$
windowrule=float,title:^(Open Folder)(.*)$
windowrule=float,title:^(Save As)(.*)$
windowrule=float,title:^(Library)(.*)$
windowrule = float,title:^(Sign In - Google Accounts - Brave)$
windowrule = float,title:^(Sign In - Google Accounts — Mozilla Firefox)$
windowrule=float,Pinentry-gtk-2

# ######## Layer rules ########
layerrule = xray 1, .*
# layerrule = noanim, .*
layerrule = noanim, selection
layerrule = noanim, overview
layerrule = noanim, anyrun
layerrule = noanim, sideleft
layerrule = noanim, sideright
layerrule = noanim, osk

layerrule = noanim, noanim
layerrule = blur, gtk-layer-shell
layerrule = ignorezero, gtk-layer-shell
layerrule = blur, launcher
layerrule = ignorealpha 0.5, launcher
layerrule = blur, notifications
layerrule = ignorealpha 0.69, notifications

# ags
layerrule = blur, session
layerrule = noanim, sideright
layerrule = noanim, sideleft
layerrule = blur, bar
layerrule = ignorealpha 0.6, bar
layerrule = blur, corner.*
layerrule = ignorealpha 0.6, corner.*
layerrule = blur, dock
layerrule = ignorealpha 0.6, dock
layerrule = blur, indicator.*
layerrule = ignorealpha 0.6, indicator.*
layerrule = blur, overview
layerrule = ignorealpha 0.6, overview
layerrule = blur, cheatsheet
layerrule = ignorealpha 0.6, cheatsheet
layerrule = blur, sideright
layerrule = ignorealpha 0.6, sideright
layerrule = blur, sideleft
layerrule = ignorealpha 0.6, sideleft
layerrule = blur, indicator*
layerrule = ignorealpha 0.6, indicator*
layerrule = blur, osk
layerrule = ignorealpha 0.6, osk

general.conf

# MONITOR CONFIG
monitor=,preferred,auto,1
# monitor=,addreserved, 0, 0, 0, 0 # Custom reserved area

#monitor=DP-1,1680x1050@75, auto, 1
#monitor=HDMI-A-1,1440x900@75, auto, 1
workspace = DP-1, 1
workspace = HDMI-A-1, 1680x210, 2

# HDMI port: mirror display. To see device name, use `hyprctl monitors`
# monitor=HDMI-A-1,1920x1080@60,1920x0,1,mirror,eDP-1

input {
    # Keyboard: Add a layout and uncomment kb_options for Win+Space switching shortcut
    kb_layout = us
    # kb_options = grp:win_space_toggle
    numlock_by_default = true
    repeat_delay = 255
    repeat_rate = 92
    float_switch_override_focus=0

    touchpad {
        natural_scroll = yes
        disable_while_typing = true
        clickfinger_behavior = true
        scroll_factor = 0.5
    }
    special_fallthrough = true
    follow_mouse = 1
}

binds {
    # focus_window_on_workspace_c# For Auto-run stuff see execs.confhange = true
    scroll_event_delay = 0
}

gestures {
    workspace_swipe = true
    workspace_swipe_distance = 700
    workspace_swipe_fingers = 4
    workspace_swipe_cancel_ratio = 0.2
    workspace_swipe_min_speed_to_force = 5
    workspace_swipe_direction_lock = true
    workspace_swipe_direction_lock_threshold = 10
    workspace_swipe_create_new = true
}

general {
    # Gaps and border
    gaps_in = 4
    gaps_out = 6
    gaps_workspaces = 50
    border_size = 1

    # Fallback colors
    col.active_border = rgba(0DB7D4FF)
    col.inactive_border = rgba(31313600)

    resize_on_border = true
    no_focus_fallback = true
    layout = dwindle

    #focus_to_other_workspaces = true # ahhhh i still haven't properly implemented this
    allow_tearing = true # some guy told me tearing might make things smoother idk
}

dwindle {
    preserve_split = true
        # no_gaps_when_only = 1
    smart_split = false
    smart_resizing = false
}

decoration {
    rounding = 20

    blur {
        enabled = true
        xray = true
        special = true
        new_optimizations = true
        popups = true
        size = 7
        passes = 4
        brightness = 1
        noise = 0.01
        contrast = 1
    }
    # Shadow
    drop_shadow = true
    shadow_ignore_window = true
    shadow_range = 20
    shadow_offset = 0 2
    shadow_render_power = 3
    col.shadow = rgba(000000CC)

    # Shader
    # screen_shader = ~/.config/hypr/shaders/nothing.frag
    # screen_shader = ~/.config/hypr/shaders/vibrance.frag

    # Dim
    dim_inactive = false
    dim_strength = 0.1
    dim_special = 0
}

animations {
    enabled = true
    # Animation curves

    bezier = linear, 0, 0, 1, 1
    bezier = md3_standard, 0.2, 0, 0, 1
    bezier = md3_decel, 0.05, 0.7, 0.1, 1
    bezier = md3_accel, 0.3, 0, 0.8, 0.15
    bezier = overshot, 0.05, 0.9, 0.1, 1.1
    bezier = crazyshot, 0.1, 1.5, 0.76, 0.92 
    bezier = hyprnostretch, 0.05, 0.9, 0.1, 1.0
    bezier = fluent_decel, 0.1, 1, 0, 1
    bezier = easeInOutCirc, 0.85, 0, 0.15, 1
    bezier = easeOutCirc, 0, 0.55, 0.45, 1
    bezier = easeOutExpo, 0.16, 1, 0.3, 1
    bezier = softAcDecel, 0.26, 0.26, 0.15, 1
    # Animation configs
    animation = windows, 1, 3, md3_decel, popin 60%
    animation = border, 1, 10, default
    animation = fade, 1, 2.5, md3_decel
    # animation = workspaces, 1, 3.5, md3_decel, slide
    animation = workspaces, 1, 7, fluent_decel, slide
    # animation = workspaces, 1, 2.5, softAcDecel, slide
    # animation = workspaces, 1, 7, fluent_decel, slidefade 15%
    # animation = specialWorkspace, 1, 3, md3_decel, slidefadevert 15%
    animation = specialWorkspace, 1, 3, md3_decel, slidevert
}

misc {
    vfr = 1
    vrr = 1
    # layers_hog_mouse_focus = true
    focus_on_activate = true
    animate_manual_resizes = false
    animate_mouse_windowdragging = false
    no_direct_scanout = true
    enable_swallow = false
    swallow_regex = (foot|kitty|allacritty|Alacritty)

    disable_hyprland_logo = true
    force_default_wallpaper = 0
    new_window_takes_over_fullscreen = 2
}

am I missing something?

vaxerski commented 5 months ago

you're missing the fact this is the wrong repo

I added a few window rules, changed a few keybinds, and for some reason the notifications are no longer being blurred

revert them and find what you did wrong. Sorry but I am not a config analyzer to sit and read your entire config in hunt of a typo you made somewhere.