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
19.63k stars 828 forks source link

hyprwm update (fails with No such file or directory) #7274

Closed mxaddict closed 1 month ago

mxaddict commented 1 month ago

Regression?

Yes

System Info and Version

System/Version info ```sh Hyprland, built from branch at commit 918d8340afd652b011b937d29d5eea0be08467f5 (flake.lock: update). Date: Tue Jun 25 12:06:02 2024 Tag: v0.41.2, commits: 4886 flags: (if any) System Information: System name: Linux Node name: mxaddict-pc Release: 6.10.3-arch1-2 Version: #1 SMP PREEMPT_DYNAMIC Tue, 06 Aug 2024 07:21:19 +0000 GPU information: 03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 31 [Radeon RX 7900 XT/7900 XTX/7900M] [1002:744c] (rev c8) (prog-if 00 [VGA controller]) 18:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Raphael [1002:164e] (rev c1) (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/mxaddict/.config/hypr/hyprland.conf: Read Succeeded # Please note not all available settings / options are set here. # For a full list, see the wiki https://wiki.hyprland.org/ # See https://wiki.hyprland.org/Configuring/Monitors/ source=~/.config/hypr/monitors.conf source=~/.config/hypr/workspaces.conf # See https://wiki.hyprland.org/Configuring/Keywords/ for more # Execute your favorite apps at launch exec-once = hyprpaper exec-once = waybar exec-once = findex-daemon exec-once = swaync exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 exec-once = dbus-update-activation-environment --systemd --all exec-once = sleep 30; nm-applet exec-once = sleep 30; blueman-applet # Fix qt application cursor size env = XCURSOR_SIZE,24 # Themes env = CLUTTER_BACKEND,wayland env = GTK_THEME,Lavanda-Dark env = QT_AUTO_SCREEN_SCALE_FACTOR,1 env = QT_QPA_PLATFORMTHEME,qt6ct env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1 env = XDG_CURRENT_DESKTOP,Hyprland env = XDG_SESSION_DESKTOP,Hyprland env = XDG_SESSION_TYPE,wayland # Tearing cause AMDGPU does not work without it yet env = WLR_DRM_NO_ATOMIC,1 misc { disable_hyprland_logo = yes # vrr = 1 } # For all categories, see https://wiki.hyprland.org/Configuring/Variables/ input { kb_layout = us kb_variant = kb_model = kb_options = kb_rules = follow_mouse = yes natural_scroll = yes touchpad { natural_scroll = yes } sensitivity = 0 # -1.0 - 1.0, 0 means no modification. force_no_accel = yes } general { # See https://wiki.hyprland.org/Configuring/Variables/ for more gaps_in = 4 gaps_out = 8 border_size = 2 col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg col.inactive_border = rgba(595959aa) layout = dwindle # Tearing allow_tearing = true } decoration { # See https://wiki.hyprland.org/Configuring/Variables/ for more rounding = 4 drop_shadow = yes shadow_range = 4 shadow_render_power = 3 col.shadow = rgba(1a1a1aee) blur:enabled = no } animations { enabled = yes # Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more bezier = fafb, 0.05, 0.9, 0.1, 1.05 animation = windows, 1, 7, fafb animation = windowsOut, 1, 7, fafb, popin 80% animation = border, 1, 10, fafb animation = borderangle, 1, 8, fafb animation = fade, 1, 7, fafb animation = workspaces, 1, 6, fafb } dwindle { # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more pseudotile = yes # ??? preserve_split = yes # you probably want this } plugin { csgo-vulkan-fix { res_w = 1920 res_h = 1440 # NOT a regex! This is a string and has to exactly match initial_class class = cs2 # Whether to fix the mouse position. A select few apps might be wonky with this. fix_mouse = true } } # Findex windowrulev2 = float, class:^(findex)$ windowrulev2 = noanim, class:^(findex)$ windowrulev2 = noborder, class:^(findex)$ windowrulev2 = noshadow, class:^(findex)$ # Tearing apps windowrulev2 = immediate, class:^(cs2)$ # WINE STUFF windowrulev2 = opacity 0.0 override 0.0 override,class:^(explorer.exe)$ windowrulev2 = move 0 0,class:^(explorer.exe)$ windowrulev2 = noanim,class:^(explorer.exe)$ windowrulev2 = nofocus,class:^(explorer.exe)$ windowrulev2 = noinitialfocus,class:^(explorer.exe)$ windowrulev2 = workspace 10 silent,class:^(explorer.exe)$ # Make apps opaque when in focus windowrule = opacity 1.00 0.95,^(.*)$ # Force some apps/windows to be floating windowrulev2 = float,title:^(Calculator)(.*)$ windowrulev2 = float,title:^(MetaMask)(.*)$ windowrulev2 = float,title:^(Steam - News)(.*)$ windowrulev2 = float,title:^(Friends List)(.*)$ windowrulev2 = float,title:^(btop)(.*)$ windowrulev2 = float,class:^(nm-connection-editor)$ windowrulev2 = float,class:^(blueman-manager)$ windowrulev2 = float,class:^(pavucontrol)$ windowrulev2 = float,class:^(chrome-bhghoamapcdpbohphigoooaddinpkbai.*)$ windowrulev2 = float,class:^(chrome-aholpfdialjgjfhomihkjbmgjidlcdno.*)$ windowrulev2 = float,class:^(nwg-look)$ windowrulev2 = float,class:^(nwg-displays)$ # Hide the sharing screen window windowrulev2 = opacity 0.0 override 0.0 override,title:^(.*)(is sharing your screen.)$ windowrulev2 = move 0 0,title:^(.*)(is sharing your screen.)$ windowrulev2 = noanim,title:^(.*)(is sharing your screen.)$ windowrulev2 = nofocus,title:^(.*)(is sharing your screen.)$ windowrulev2 = noinitialfocus,title:^(.*)(is sharing your screen.)$ windowrulev2 = workspace 10 silent,title:^(.*)(is sharing your screen.)$ # Workspace rules #windowrule = workspace 1 silent, Chromium windowrule = workspace 2 silent, discord windowrule = workspace 2 silent, teams-for-linux windowrule = workspace 3 silent, thunderbird windowrule = workspace 7 silent, Exodus windowrule = workspace 8 silent, lutris windowrule = workspace 8 silent, steam windowrule = workspace 9 silent, obs windowrule = workspace 9 silent, Spotify #windowrule = workspace 10 silent, alacritty # See https://wiki.hyprland.org/Configuring/Keywords/ for more $mod = super # START??? bind = $mod shift, g, exec, notify-send "Join them not beat them"; .start # Notification center bind = $mod, n, exec, swaync-client -t -sw bind = $mod shift, n, exec, swaync-client -d -sw bind = $mod alt, n, exec, swaync-client -C -sw # App binds bind = $mod, b, exec, chromium bind = $mod, c, exec, alacritty bind = $mod, e, exec, nautilus -w bind = $mod, m, exec, hyprlock bind = $mod shift, m, exec, systemctl suspend && hyprlock bind = $mod, space, exec, echo 1 > ~/.config/findex/toggle_file bind = $mod, r, exec, gnome-calculator bind = $mod, o, exec, spotify-launcher bind = $mod, p, exec, grimblast --notify --freeze copysave area ~/Captures/$(date "+%Y%m%d_%Hh%Mm%Ss").png bind = $mod ctrl, p, exec, hyprpicker --no-fancy | wl-copy --trim-newline && notify-send "Picked $(wl-paste)" bind = $mod shift, p, exec, kooha # Systemcontrol binds bind = $mod, f, fullscreen, 1 bind = $mod shift, f, fullscreen, 0 bind = $mod, q, killactive, bind = $mod, s, togglesplit, # dwindle bind = $mod, v, togglefloating, # Volume control bind = $mod, up, exec, pactl -- set-sink-volume @DEFAULT_SINK@ +5% bind = $mod, down, exec, pactl -- set-sink-volume @DEFAULT_SINK@ -5% bind = $mod, left, exec, pactl -- set-sink-mute @DEFAULT_SINK@ on bind = $mod, right, exec, pactl -- set-sink-mute @DEFAULT_SINK@ off # Microphone volume control bind = $mod shift, up, exec, pactl -- set-source-volume @DEFAULT_SOURCE@ +5% bind = $mod shift, down, exec, pactl -- set-source-volume @DEFAULT_SOURCE@ -5% bind = $mod shift, left, exec, pactl -- set-source-mute @DEFAULT_SOURCE@ on bind = $mod shift, right, exec, pactl -- set-source-mute @DEFAULT_SOURCE@ off # Move focus with mod + hjkl keys bind = $mod, h, movefocus, l bind = $mod, l, movefocus, r bind = $mod, k, movefocus, u bind = $mod, j, movefocus, d # Window TAB for switching while in fullscreen or fakefullscreen bind = $mod, tab, cyclenext bind = $mod shift, TAB, cyclenext, prev # Move window with mod + hjkl keys bind = $mod shift, h, movewindow, l bind = $mod shift, l, movewindow, r bind = $mod shift, k, movewindow, u bind = $mod shift, j, movewindow, d # Switch workspaces with mod + [0-9] bind = $mod, 1, workspace, 1 bind = $mod, 2, workspace, 2 bind = $mod, 3, workspace, 3 bind = $mod, 4, workspace, 4 bind = $mod, 5, workspace, 5 bind = $mod, 6, workspace, 6 bind = $mod, 7, workspace, 7 bind = $mod, 8, workspace, 8 bind = $mod, 9, workspace, 9 bind = $mod, 0, workspace, 10 # Move active window to a workspace with mod + shift + [0-9] bind = $mod shift, 1, movetoworkspace, 1 bind = $mod shift, 2, movetoworkspace, 2 bind = $mod shift, 3, movetoworkspace, 3 bind = $mod shift, 4, movetoworkspace, 4 bind = $mod shift, 5, movetoworkspace, 5 bind = $mod shift, 6, movetoworkspace, 6 bind = $mod shift, 7, movetoworkspace, 7 bind = $mod shift, 8, movetoworkspace, 8 bind = $mod shift, 9, movetoworkspace, 9 bind = $mod shift, 0, movetoworkspace, 10 # Move/resize windows with mod + LMB/RMB and dragging bindm = $mod, mouse:272, movewindow bindm = $mod, mouse:273, resizewindow Config File: /home/mxaddict/.config/hypr/monitors.conf: Read Succeeded # Generated by nwg-displays on 2024-08-10 at 22:22:45. Do not edit manually. monitor=desc:ASUSTek COMPUTER INC XG27ACS S2LMTF053713,2560x1440@180.0,0x0,1.0 Config File: /home/mxaddict/.config/hypr/workspaces.conf: Read Succeeded ======Config-End======== ```

Description

Running hyprpm update fails to run

How to reproduce

run hyprpm update

Crash reports, logs, images, videos

cd subprojects/wlroots-hyprland/include/wlr && find . -name '*.h*' -print0 | cpio --quiet -0dump /home/mxaddict/.local/share/hyprpm/headersRoot/include/hyprland/wlr && cd ../../../..
/bin/sh: line 1: cd: subprojects/wlroots-hyprland/include/wlr: No such file or directory
make: *** [Makefile:56: installheaders] Error 1

✖ failed to install headers with error code 2
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  5 / 5  Failed

✖ Headers missing. Please run hyprpm update to fix those.
vaxerski commented 1 month ago

update (hyprland)

mxaddict commented 1 month ago

Ahh, will test in with the latest git build

mxaddict commented 1 month ago

Works great!