hyprwm / Hyprland

Hyprland is an independent, highly customizable, dynamic tiling Wayland compositor that doesn't sacrifice on its looks.
https://hyprland.org
BSD 3-Clause "New" or "Revised" License
20.19k stars 858 forks source link

The toolbar doesn't show up #6526

Closed aljustiet closed 3 months ago

aljustiet commented 3 months ago

Bug or Regression?

Bug

System Info and Version

System/Version info ```sh Hyprland, built from branch main at commit 91fe58f8f278d126852877eadc87c50ca7b9b78d (window: improve swallowing functionality). Date: Sat Jun 15 21:20:41 2024 Tag: v0.41.1-18-g91fe58f8, commits: 4836 flags: (if any) System Information: System name: Linux Node name: arch Release: 6.9.4-arch1-1 Version: #1 SMP PREEMPT_DYNAMIC Wed, 12 Jun 2024 20:17:17 +0000 GPU information: 33:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt [Radeon 680M] [1002:1681] (rev d1) (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: ======Config-Start====== Config File: /home/aljustiet/.config/hypr/hyprland.conf: Read Succeeded monitor=eDP-1,highres@60,300x1080,1.6,bitdepth,10,vrr,1 # monitor=eDP-1,highres@60,-1200x580,1.6,bitdepth,10 # monitor=DP-2,1920x1080@75Hz,0x0,1,bitdepth,10 # monitor=DP-2,2560x1600@74.97Hz,0x0,2,bitdepth,10 # monitor=DP-2,3840x2160@60,0x0,2,bitdepth,10 monitor=DP-2,3840x2160@60Hz,0x0,2,bitdepth,10 monitor=DP-1,3840x2160@60Hz,0x0,2,bitdepth,10 # monitor=DP-2,disable # monitor=DP-1,3840x2160@60,0x0,2,bitdepth,10 # monitor=DP-2,2560x1600@74.97Hz,0x0,1.6,bitdepth,10 xwayland { force_zero_scaling = true } # Environment variables # ###################### env = XCURSOR_SIZE,36 env = GTK_THEME='Arc-dark' # env = STEAM_FORCE_DESKTOPUI_SCALING, 1.25 env = CLUTTER_BACKEND,wayland env = GDK_BACKEND,wayland,x11 env = QT_AUTO_SCREEN_SCALE_FACTOR,1 env = QT_QPA_PLATFORM,wayland;xcb env = QT_QPA_PLATFORMTHEME,qt5ct env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1 env = XDG_CURRENT_DESKTOP,Hyprland env = XDG_SESSION_DESKTOP,Hyprland env = XDG_SESSION_TYPE,wayland env = SDL_VIDEODRIVER,wayland # ###################### exec-once = export PATH="$PATH:/usr/bin/site_perl/exiftool" exec-once = export PATH="$PATH:/home/aljustiet/.local/bin" exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 exec-once = hyprctl setcursor catppuccin-frappe-sapphire-cursors 36 # env = GDK_SCALE,2 # env = QT_SCALE_FACTOR,1 # Exec exec-once = /usr/local/bin/swaybg-s # exec-once = wl-paste --type text --watch cliphist store # exec-once = wl-paste --type image --watch cliphist store # exec-once = systemctl --user start hypridle exec-once = solaar --window=hide exec-once = dunst exec-once = easyeffects --gapplication-service # exec-once = hyprctl keyword monitor eDP-1,disable exec-once = waybar $terminal = kitty $fileManager = dolphin $browser = librewolf # $menu = fuzzel --show-actions -f Roboto -D auto -l 9 -w 40 -x 5 -y 2 -P 3 -C 262626ff -b 1D1D1Dff -t ffffffff -s 87CEFAff -S 505050ff -B 4 -r 5 --line-height=24 $menu = rofi -show drun # For all categories, see https://wiki.hyprland.org/Configuring/Variables/ input { kb_layout = us,ru(mac) kb_options = grp:ctrl_space_toggle repeat_rate = 25 repeat_delay = 600 follow_mouse = 1 touchpad { natural_scroll = no } sensitivity = -160.0 # -1.0 - 1.0, 0 means no modification. # scroll_factor = 0.08 # scroll_factor = 0.64 scroll_factor = 0.48 } device { # name = ps/2-generic-mouse name = tpps/2-elan-trackpoint # sensitivity = -0.20 sensitivity = 0 } device { name = syna8018:00-06cb:ce67-touchpad sensitivity = 0.08 } device { name = company-2.4g-device-mouse sensitivity = -0.903 } # device { # name = solaar-keyboard-1 # sensitivity = -160.0 # } general { # See https://wiki.hyprland.org/Configuring/Variables/ for more border_size = 0 no_border_on_floating = false gaps_in = 0 gaps_out = 0 gaps_workspaces = 0 col.inactive_border = rgba(59595900) col.active_border = rgba(523600cc) col.nogroup_border = rgba(59595900) col.nogroup_border_active = rgba(c78613cc) rgba(16a7e0cc) 90deg # cursor_inactive_timeout = 0 layout = master # no_cursor_warps = false no_focus_fallback = false apply_sens_to_raw = false resize_on_border = true extend_border_grab_area = 15 hover_icon_on_border = true allow_tearing = true resize_corner = 0 } decoration { rounding = 0 active_opacity = 1 inactive_opacity = 1 fullscreen_opacity = 1 # drop_shadow = blur { enabled = true size = 3 passes = 1 } drop_shadow = yes shadow_range = 4 shadow_render_power = 3 col.shadow = rgba(1a1a1aee) } animations { enabled = no # Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more bezier = myBezier, 0.05, 0.9, 0.1, 1.05 animation = windows, 1, 7, myBezier animation = windowsOut, 1, 7, default, popin 80% animation = border, 1, 10, default animation = borderangle, 1, 8, default animation = fade, 1, 7, default animation = workspaces, 1, 6, default } dwindle { # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below preserve_split = yes # you probably want this } master { # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more new_is_master = true } gestures { # See https://wiki.hyprland.org/Configuring/Variables/ for more workspace_swipe = true workspace_swipe_fingers = 3 } # misc { # See https://wiki.hyprland.org/Configuring/Variables/ for more # force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers # } # Example per-device config # See https://wiki.hyprland.org/Configuring/Keywords/#executing for more device { name = epic-mouse-v1 sensitivity = -0.5 } # Example windowrule v1 # windowrule = float, ^(kitty)$ # Example windowrule v2 # windowrulev2 = float,class:^(kitty)$,title:^(kitty)$ # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more # windowrulev2 = suppressevent maximize, class:.* # You'll probably like this. windowrulev2 = immediate, initialTitle:(.*)Age of Empires II: Definitive Edition(.*)$ # windowrulev2 = float, initialTitle:(.*)blueman-manager(.*)$ # windowrulev2 = float, initialTitle:(.*)Age of Empires II: Definitive Edition(.*)$ # Thunar windowrule = float,(.*)thunar(.*)$ windowrule = size 95% 95%,(.*)thunar(.*)$ windowrule = move 2.4% 4.5%,(.*)thunar(.*)$ # Ungoogled Chromium windowrule = float,(.*)chromium(.*)$ windowrule = size 195% 195%,(.*)chromium((.*)$ windowrule = move 2.4% 4.5%,(.*)chromium((.*)$ # Zathura windowrule = float,(.*)org.pwmt.zathura(.*)$ windowrule = size 95% 95%,(.*)org.pwmt.zathura((.*)$ windowrule = move 2.4% 4.5%,(.*)org.pwmt.zathura((.*)$ # MPV # windowrule = float,(.*)mpv(.*)$ windowrulev2 = keepaspectratio, initialclass:mpv # windowrulev2 = size 480 270, (.*)mpv(.*)$ # Feeds windowrule = float,(.*)org.gabmus.gfeeds(.*)$ windowrule = size 95% 95%,(.*)org.gabmus.gfeeds(.*)$ windowrule = move 2.4% 4.5%,(.*)org.gabmus.gfeeds(.*)$ # nwg-look windowrule = float,(.*)nwg-look(.*)$ windowrule = size 95% 95%,(.*)nwg-look(.*)$ windowrule = move 2.4% 4.5%,(.*)nwg-look(.*)$ # DisplayCAL windowrule = float,(.*)displaycal(.*)$ windowrule = size 95% 95%,(.*)displaycal(.*)$ windowrule = move 2.4% 4.5%,(.*)displaycal(.*)$ # Thorium windowrule = float,(.*)thorium-browser(.*)$ windowrule = size 95% 95%,(.*)thorium-browser(.*)$ windowrule = move 2.4% 4.5%,(.*)thorium-browser(.*)$ # Mercury windowrule = float,(.*)mercury-default(.*)$ windowrule = size 95% 95%,(.*)mercury-default(.*)$ windowrule = move 2.4% 4.5%,(.*)mercury-default(.*)$ # EasyEffects windowrule = float,(.*)easyeffects(.*)$ windowrule = size 95% 95%,(.*)easyeffects(.*)$ windowrule = move 2.4% 4.5%,(.*)easyeffects(.*)$ # kitty windowrule = float,(.*)kitty(.*)$ windowrule = size 95% 90%,(.*)kitty(.*)$ windowrule = move 2.4% 6.9%,(.*)kitty(.*)$ # windowrule = noanim,(.*)kitty(.*)$ # Signal windowrule = float,(.*)signal(.*)$ windowrule = size 95% 95%,(.*)signal(.*)$ windowrule = move 2.4% 4.5%,(.*)signal(.*)$ windowrule = noanim,(.*)signal(.*)$ # Brave windowrule = float,(.*)brave(.*)$ windowrule = size 95% 95%,(.*)brave(.*)$ windowrule = move 2.4% 4.5%,(.*)brave(.*)$ windowrule = noanim,(.*)brave(.*)$ # LibreWolf # windowrule = float,(.*)LibreWolf(.*)$ # windowrule = size 95% 95%,(.*)LibreWolf(.*)$ # windowrule = move 2.4% 3.32%,(.*)LibreWolf(.*)$ # windowrule = noanim,(.*)LibreWolf(.*)$ # Solaar windowrule = float,(.*)solaar(.*)$ windowrule = size 52% 90%,(.*)solaar(.*)$ windowrule = move 44% 7%,(.*)solaar(.*)$ # windowrule = monitor DP-2,(.*)solaar(.*)$ # blueman-manager windowrule = float,(.*)blueman-manager(.*)$ windowrule = size 40% 80%,(.*)blueman-manager(.*)$ windowrule = move 28% 10%,(.*)blueman-manager(.*)$ # windowrulev2 = opacity 0.9,initialTitle:(.*)(LibreWolf)(.*)$ # windowrulev2 = float,initialTitle:(.*)(LibreWolf)(.*)$ # windowrule = float,(.*)(LibreWolf)(.*)$ # windowrule = pin,(.*)(LibreWolf)(.*)$ # windowrule = center,(.*)(LibreWolf)(.*)$ # windowrule = pseudo,(.*)(LibreWolf)(.*)$ # windowrule = move 33 3%,(.*)(LibreWolf)(.*)$ # windowrule = nofocus,(.*)(LibreWolf)(.*)$ # Options: pin # # ^(Firefox)(.*)$ # Workspace Rules # s[true] s[false] # workspace = m[DP-2], workspace=m[DP-2],rounding:true # See https://wiki.hyprland.org/Configuring/Keywords/ for more $mainMod = SUPER binde=SUPER,F,fullscreen, 0 binde=SUPER,O,fullscreen, 2 binde=SUPER,U,fullscreen, 1 bind=CTRL SHIFT, X, exec, cliphist list | fuzzel --dmenu | cliphist decode | wl-copy bind=SUPER SHIFT,F,resizeactive,100 100 bind=CTRL SHIFT, 1, exec, take_screenshot_window bind=CTRL SHIFT, 2, exec, tesseract_ocr bind=CTRL SHIFT, 3, exec, take_screenshot bind=CTRL SHIFT, 4, exec, slurp | grim -t png -g - - | wl-copy bind=CTRL SHIFT, 5, exec, kooha bind=ALT, Tab, workspace, r+1 bind=ALT SHIFT, Tab, workspace, r-1 # bind=CTRL, Tab, workspace, r+1 # bind=CTRL SHIFT, Tab, workspace, r-1 # Volume and Media Control # bind = , F4, exec, pamixer --default-source -m # bind =, XF86AudioPrev, exec, playerctl --player cmus previous # bind =, XF86AudioPlay, exec, playerctl --player cmus play-pause # bind =, XF86AudioNext, exec, playerctl --player cmus next # binde=, XF86AudioMute, exec, pamixer -d 5 # binde=, XF86AudioLowerVolume, exec, pamixer -i 5 # bind =, XF86AudioRaiseVolume, exec, pamixer -t binde=, XF86Messenger, exec, playerctl --player cmus play-pause binde=, XF86WLAN, exec, playerctl --player cmus next binde=, XF86Display, exec, playerctl --player cmus previous binde=, XF86Favorites, exec, pamixer -t binde=, Cancel, exec, pamixer -i 5 binde=, XF86Go, exec, pamixer -d 5 binde=, XF86AudioMute, exec, /home/aljustiet/.local/bin/relative-brightness-change-down binde=, XF86AudioLowerVolume, exec, /home/aljustiet/.local/bin/relative-brightness-change-up binde=, F10, exec, pamixer -d 5 binde=, F11, exec, pamixer -i 5 binde=, F12, exec, pamixer -t bind =, F7, exec, playerctl --player cmus previous bind =, F9, exec, playerctl --player cmus play-pause bind =, F8, exec, playerctl --player cmus next #bind = , XF86AudioMute, exec, pamixer -t #bind = , XF86AudioPlay, exec, playerctl play-pause #bind = , XF86AudioPause, exec, playerctl play-pause #bind = , XF86AudioNext, exec, playerctl next #bind = , XF86AudioPrev, exec, playerctl previous bind = $mainMod, Tab, movetoworkspace, r+1 bind = $mainMod SHIFT, Tab, movetoworkspace, r-1 # bind = $mainMod, W, exec, pkill -SIGUSER1 waybar # bind = $mainMod, Z, exec, pkill -SIGUSR2 waybar # Screen brightness # bind = , F2, exec, /home/aljustiet/.local/bin/relative-brightness-change-up # bind = , F1, exec, /home/aljustiet/.local/bin/relative-brightness-change-down # bind = , XF86MonBrightnessUp, exec, brightnessctl s +5% # bind = , XF86MonBrightnessDown, exec, relative-brightness-change-down binde= , F2, exec, /home/aljustiet/.local/bin/relative-brightness-change-up binde= , F1, exec, /home/aljustiet/.local/bin/relative-brightness-change-down # External screen brightness # bind = $mainMod, XF86MonBrightnessUp, exec, if [[ $(hyprctl cursormon) == "0" ]]; then brightnessctl set +10%; else /home/aljustiet/.local/bin/brightness-DP-2 up; fi # bind = $mainMod, XF86MonBrightnessDown, exec, if [[ $(hyprctl cursormon) == "0" ]]; then brightnessctl set 10%-; else /path/to/brightness.sh down; fi # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more bind = $mainMod SHIFT, K, exec, [workspace current silent] $terminal # bind = CTRL, Q, exec, [workspace 2 silent;float] kitty bind = CTRL SHIFT, Q, killactive, # bind = $mainMod, M, exit, bind = $mainMod, V, togglefloating, bind = ALT, space, exec, $menu # bind = $mainMod, P, pseudo, # dwindle bind = $mainMod, J, togglesplit, # dwindle bind = $mainMod, D, exec, $fileManager bind = $mainMod, K, exec, $browser bind = $mainMod, P, exec, hyprctl dispatcher pin active # Move focus with mainMod + arrow keys bind = $mainMod, left, movefocus, l bind = $mainMod, right, movefocus, r bind = $mainMod, up, movefocus, u bind = $mainMod, down, movefocus, d # bind = CTRL, y, cyclenext # bind = CTRL, g, cyclenext, prev bind = ALT, grave, cyclenext bind = ALT, grave, bringactivetotop, bind = ALT SHIFT, grave, cyclenext, prev bind = ALT SHIFT, grave, bringactivetotop, # Switch workspaces with mainMod + [0-9] bind=ALT, 1, workspace, 1 # bind = ALT, 1, workspace, [] 1 # bind = ALT, 1, monitor, current, workspace, 1 # bind = CTRL, Q, exec, [workspace 2 silent;float] kitty # bind=ALT, 2, workspace, [monitor DP-2] 2 bind=ALT, 2, workspace, 2 bind=ALT, 3, workspace, 3 bind=ALT, 4, workspace, 4 bind=ALT, 5, workspace, 5 bind=ALT, 6, workspace, 6 bind=ALT, 7, workspace, 7 bind=ALT, 8, workspace, 8 bind=ALT, 9, workspace, 9 bind=ALT, 0, workspace, 10 # Move active window to a workspace with mainMod + SHIFT + [0-9] bind = $mainMod, 1, movetoworkspace, 1 bind = $mainMod, 2, movetoworkspace, 2 bind = $mainMod, 3, movetoworkspace, 3 bind = $mainMod, 4, movetoworkspace, 4 bind = $mainMod, 5, movetoworkspace, 5 bind = $mainMod, 6, movetoworkspace, 6 bind = $mainMod, 7, movetoworkspace, 7 bind = $mainMod, 8, movetoworkspace, 8 bind = $mainMod, 9, movetoworkspace, 9 bind = $mainMod, 0, movetoworkspace, 10 # Example special workspace (scratchpad) # bind = $mainMod, R, togglespecialworkspace, magic bind = $mainMod SHIFT, R, movetoworkspace, special:magic # Scroll through existing workspaces with mainMod + scroll bind = $mainMod, mouse_down, workspace, r+1 bind = $mainMod, mouse_up, workspace, r-1 # Move/resize windows with mainMod + LMB/RMB and dragging bindm = $mainMod, mouse:272, movewindow bindm = $mainMod, mouse:273, resizewindow # Turn off the display bind = CTRL SHIFT, insert, exec, hyprctl dispatcher dpms on bind = CTRL ALT SHIFT, insert, exec, hyprctl keyword monitor eDP-1,highres@60,-960x480,2,bitdepth,10 bind = CTRL ALT SHIFT, end, exec, hyprctl keyword monitor eDP-1,disable bind = CTRL SHIFT, end, exec, hyprctl dispatcher dpms off bind = CTRL SHIFT, home, exec, swaylock && sudo systemctl suspend bind = ALT SHIFT, delete, exec, swaylock bind = $mainMod, n, splitratio, -0.1 bind = $mainMod, s, splitratio, +0.1 bind = $mainMod, backslash, swapnext binde= CTRL SHIFT, code:48, exec, chbs binde= $mainMod, h, movefocus, l binde= $mainMod, e, movefocus, u binde= $mainMod, a, movefocus, d binde= $mainMod, i, movefocus, r bind = $mainMod, equal, layoutmsg, swapwithmaster ======Config-End======== ```

Description

The toolbar of the firefox/librewolf doesn't show up in the fullscreen with the hide toolbar option turned on. I tested it on the bspwm, and kde. There it shows up.

How to reproduce

  1. Open firefox/librewolf
  2. Go to fullscreen
  3. Drag the mouse to the top
  4. The toolbar isn't showing up.

Crash reports, logs, images, videos

https://files.catbox.moe/gb69bo.mp4

drendog commented 3 months ago

https://github.com/hyprwm/Hyprland/pull/6027