Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.45.0 failed to install headers with error code 4 (Headers version mismatched) #8433

Closed
1 task done
ogios opened this issue Nov 12, 2024 · 3 comments
Closed
1 task done
Labels
bug Something isn't working

Comments

@ogios
Copy link

ogios commented Nov 12, 2024

Already reported ? *

  • I have searched the existing open and closed issues.

Regression?

Yes

System Info and Version

System/Version info
Hyprland 0.45.0 built from branch  at commit  dirty ().
Date: 
Tag: , commits: 
built against aquamarine 0.4.3


flags set:
debug


System Information:
System name: Linux
Node name: hal9000
Release: 6.11.6-zen1-1-zen
Version: #1 ZEN SMP PREEMPT_DYNAMIC Fri, 01 Nov 2024 03:30:35 +0000


GPU information: 
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation AD107M [GeForce RTX 4060 Max-Q / Mobile] [10de:28a0] (rev a1) (prog-if 00 [VGA controller])
NVRM version: NVIDIA UNIX Open Kernel Module for x86_64  565.57.01  Release Build  (archlinux-builder@)  


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/ogios/.config/hypr/hyprland.conf: Read Succeeded
$mainMod = SUPER

source=~/.config/hypr/execs.conf
source=~/.config/hypr/keybinds.conf
source=~/.config/hypr/env.conf
source=~/.config/hypr/look.conf


# MONITOR CONFIG
# monitor=eDP-1,preferred,auto,1
# monitor=HDMI-A-1,preferred,auto,1
# monitor=HDMI-A-1,2560x1440@144,auto,1
# monitor=HDMI-A-1,preferred,0x0,1.25
monitor=HDMI-A-1,2560x1440@144,0x0,1
# monitor=HDMI-A-1, disable
# monitor=eDP-1,preferred,2560x0@144,1.25
monitor=eDP-1,2560x1600@240,2560x0,1.25
# monitor=eDP-1,preferred,2560x0,1
# monitor=,addreserved, 0, 0, 0, 0
# monitor=HDMI-A-1,1920x1080@60,1920x0,1,mirror,eDP-1
# monitor=HDMI-A-1,2560x1440@144,auto,1,mirror,eDP-1
# monitor=,preferred,auto,1,mirror,eDP-1




# input {
#     # Mouse
#     # accel_profile = adaptive
#     force_no_accel = false
#     #sensitivity = 0
#
#     # Keyboard
#     kb_layout = us
#     follow_mouse = 1
#     numlock_by_default = true
#     repeat_delay = 250
#     repeat_rate = 60
#
#     touchpad {
#         natural_scroll = yes
#         disable_while_typing = true
#         clickfinger_behavior = true
#         scroll_factor = 0.5
#     }
#     scroll_method = 2fg
# }
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 = 250
    repeat_rate = 35

    touchpad {
        natural_scroll = yes
        disable_while_typing = true
        clickfinger_behavior = true
        scroll_factor = 0.5
    }

    # special_fallthrough = true
    follow_mouse = 1
}

cursor {
    no_hardware_cursors = true
}


binds {
    # focus_window_on_workspace_change = true
    scroll_event_delay = 0
}

gestures {
    # See https://wiki.hyprland.org/Configuring/Variables/ for more
    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 = 0
    workspace_swipe_direction_lock_threshold = 10
    workspace_swipe_create_new = true
}


# misc {
#     vfr = true
#     vrr = 1
#     focus_on_activate = true
#     animate_manual_resizes = false
#     animate_mouse_windowdragging = false
#     #suppress_portal_warnings = true
#     enable_swallow = true
#
#     disable_hyprland_logo = true
#     force_hypr_chan = true
#     new_window_takes_over_fullscreen = 2
# }
misc {
    # vfr = true
    # vrr = 1
    # layers_hog_mouse_focus = true
    focus_on_activate = true
    # animate_manual_resizes = true
    # animate_mouse_windowdragging = true
    # enable_swallow = true
    # swallow_regex = (foot|kitty|allacritty|Alacritty)
    
    disable_hyprland_logo = true
    force_default_wallpaper = 2
    new_window_takes_over_fullscreen = 1
}


binds {
    movefocus_cycles_fullscreen = true
}

xwayland {
    force_zero_scaling = true
}


debug {
	#overlay = true
	#damage_tracking = 0
	#damage_blink = yes
}

device {
    name = epic-mouse-v1
    sensitivity = -0.5
}

# layerrule = noanim, selection
source=~/.config/hypr/rules.conf


bind=,248,exec,notify-send deez nuts
# bindr=,248,exec,eww close bar
#
# windowrulev2=rounding 20, onworkspace:1

# plugins
source=~/.config/hypr/plugins.conf


Config File: /home/ogios/.config/hypr/execs.conf: Read Succeeded
# exec-once = gBar bar HDMI-A-1

exec-once = way-edges daemon
exec-once = sleep 1 && way-edges add slidetest

# notify service
exec-once = swaync

# Input method
exec-once = fcitx5

# Core components (authentication, lock screen, notification daemon)
exec-once = dbus-update-activation-environment --all &
# exec-once = /usr/bin/gnome-keyring-daemon --start --components=secrets &
# exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
exec-once = sleep 1 && dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP # Some fix idk

# Clipboard history
# exec-once = wl-paste --watch cliphist store &
exec-once = wl-paste --type text --watch cliphist store
exec-once = wl-paste --type image --watch cliphist store

# Cursor
exec-once = hyprctl setcursor Bibata-Modern-Classic 24

exec-once = sleep 1 && hyprpaper
exec-once = sleep 2 && hyprpm reload


Config File: /home/ogios/.config/hypr/keybinds.conf: Read Succeeded
# It just works™ keybinds
# Volume
bindl = ,XF86AudioMute, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 0%
bindl = Super+Shift,M, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 0%
bindle=, XF86AudioRaiseVolume, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+
bindle=, XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-

# Brightness
bindle=, XF86MonBrightnessUp, exec, light -A 5
bindle=, XF86MonBrightnessDown, exec, light -U 5

# Applications
bind = Super, Return, exec, kitty
bind = Super, T, exec, kitty
bind = Super, E, exec, thunar
bind = Super, B, exec, firefox

# all setting
bind = Super, I, exec, XDG_CURRENT_DESKTOP="gnome" gnome-control-center
# sound setting
bind = ControlSuper, V, exec, pavucontrol 
# resource monitor
bind = ControlShift, Escape, exec, gnome-system-monitor

# Actions 
bind = SuperShift, Period, exec, pkill wofi || wofi-emoji
bind = ControlShiftAlt, Delete, exec, pkill wlogout || wlogout -p layer-shell
bind = ControlShiftAltSuper, Delete, exec, systemctl poweroff

# Screenshot, Record, OCR (Optical Character Recognition), Color picker, Clipboard history
# bind = SuperShift, S, exec, hyprshot -m region --clipboard-only
bind = SuperShift, S, exec, wayfreeze & PID=$!; sleep .1; grim -g "$(slurp)" - | wl-copy; kill $PID; wl-paste | satty --filename - --fullscreen --output-filename ~/Pictures/Screenshots/satty-$(date '+%Y%m%d-%H:%M:%S').png
bind = SuperShift, C, exec, hyprpicker -a
bind = Super, V, exec, pkill fuzzel || cliphist list | fuzzel --dmenu | cliphist decode | wl-copy


#Lock screen  |  blur: --effect-blur=20x202
bind = SuperShiftControlAlt, L, exec, gtklock -i

# App launcher
bind = ControlSuper, Slash, exec, pkill anyrun || anyrun
bind = ControlSuper, Space, exec, pkill nwg-drawer || nwg-drawer

# swyn
bind = Super, A, exec, swaync-client -t -sw

# Keybinds for Hyprland
bind = Super, Q, killactive,
bind = SuperAlt, Space, togglefloating, 
bind = ShiftSuperAlt, Q, exec, hyprctl kill
# Swap windows
bind = SuperShift, left, movewindow, l
bind = SuperShift, right, movewindow, r
bind = SuperShift, up, movewindow, u
bind = SuperShift, down, movewindow, d
# Move focus
bind = Super, left, movefocus, l
bind = Super, right, movefocus, r
bind = Super, up, movefocus, u
bind = Super, down, movefocus, d
bind = $mainMod, H, movefocus, l
bind = $mainMod, L, movefocus, r
bind = $mainMod, K, movefocus, u
bind = $mainMod, J, movefocus, d
bind = Super, BracketLeft, movefocus, l
bind = Super, BracketRight, movefocus, r

# Workspace, window, tab switch with keyboard
bind = ControlSuper, right, workspace, +1
bind = ControlSuper, left, workspace, -1
bind = ControlSuper, L, workspace, +1
bind = ControlSuper, H, workspace, -1
bind = ControlSuper, BracketLeft, workspace, -1
bind = ControlSuper, BracketRight, workspace, +1
bind = ControlSuper, up, workspace, -5
bind = ControlSuper, down, workspace, +5
bind = Super, Page_Down, workspace, +1
bind = Super, Page_Up, workspace, -1
bind = ControlSuper, Page_Down, workspace, +1
bind = ControlSuper, Page_Up, workspace, -1
bind = SuperAlt, Page_Down, movetoworkspace, +1
bind = SuperAlt, Page_Up, movetoworkspace, -1
bind = SuperAlt, L, movetoworkspace, +1
bind = SuperAlt, H, movetoworkspace, -1
# bind = SuperShift, Page_Down, movetoworkspace, +1
# bind = SuperShift, Page_Up, movetoworkspace, -1
# bind = ControlSuperShift, Right, movetoworkspace, +1
# bind = ControlSuperShift, Left, movetoworkspace, -1
# bind = SuperShift, mouse_down, movetoworkspace, -1
# bind = SuperShift, mouse_up, movetoworkspace, +1
bind = SuperAlt, mouse_down, movetoworkspace, -1
bind = SuperAlt, mouse_up, movetoworkspace, +1

# Window split ratio
binde = Super, Minus, splitratio, -0.1
binde = Super, Equal, splitratio, 0.1
binde = Super, Semicolon, splitratio, -0.1
binde = Super, Apostrophe, splitratio, 0.1

# Fullscreen
bind = Super, F, fullscreen, 0
bind = Super, D, fullscreen, 1
# bind = SuperAlt, F, fakefullscreen, 0

# Switching
bind = Super, 1, workspace, 1
bind = Super, 2, workspace, 2
bind = Super, 3, workspace, 3
bind = Super, 4, workspace, 4
bind = Super, 5, workspace, 5
bind = Super, 6, workspace, 6
bind = Super, 7, workspace, 7
bind = Super, 8, workspace, 8
bind = Super, 9, workspace, 9
bind = Super, 0, workspace, 10
bind = Super, S, togglespecialworkspace,
bind = ControlSuper, S, togglespecialworkspace,
bind = Alt, Tab, cyclenext
bind = Alt, Tab, bringactivetotop,   # bring it to the top

# Move window to workspace Super + Alt + [0-9] 
bind = Super Alt, 1, movetoworkspacesilent, 1
bind = Super Alt, 2, movetoworkspacesilent, 2
bind = Super Alt, 3, movetoworkspacesilent, 3
bind = Super Alt, 4, movetoworkspacesilent, 4
bind = Super Alt, 5, movetoworkspacesilent, 5
bind = Super Alt, 6, movetoworkspacesilent, 6
bind = Super Alt, 7, movetoworkspacesilent, 7
bind = Super Alt, 8, movetoworkspacesilent, 8
bind = Super Alt, 9, movetoworkspacesilent, 9
bind = Super Alt, 0, movetoworkspacesilent, 10
bind = ControlShiftSuper, Up, movetoworkspacesilent, special
bind = SuperAlt, S, movetoworkspacesilent, special

# Scroll through existing workspaces with (Control) + Super + scroll
bind = Super, mouse_up, workspace, +1
bind = Super, mouse_down, workspace, -1
# bind = ControlSuper, mouse_up, workspace, +1
# bind = ControlSuper, mouse_down, workspace, -1

# Move/resize windows with Super + LMB/RMB and dragging
bindm = Super, mouse:272, movewindow
bindm = Super, mouse:273, resizewindow
# bindm = Super, mouse:274, movewindow
bindm = Super, Z, movewindow
bind = ControlSuper, Backslash, resizeactive, exact 640 480


# bindle = Alt, I, exec, ydotool key 103:1 103:0
# bindle = Alt, K, exec, ydotool key 108:1 108:0
# bindle = Alt, J, exec, ydotool key 105:1 105:0
# bindle = Alt, L, exec, ydotool key 106:1 106:0
bindle = ControlAltSuper, 6, exec, ydotool mousemove -x -50 -y 0
bindle = ControlAltSuper, 7, exec, ydotool mousemove -x 0 -y 50
bindle = ControlAltSuper, 8, exec, ydotool mousemove -x 0 -y -50
bindle = ControlAltSuper, 9, exec, ydotool mousemove -x 50 -y 0
bindle = ControlShiftAltSuper, 6, exec, ydotool mousemove -x -10 -y 0
bindle = ControlShiftAltSuper, 7, exec, ydotool mousemove -x 0 -y 10
bindle = ControlShiftAltSuper, 8, exec, ydotool mousemove -x 0 -y -10
bindle = ControlShiftAltSuper, 9, exec, ydotool mousemove -x 10 -y 0
bindle = ControlShiftAltSuper, 0, exec, ydotool click 0xC0



# way-edges
bind = SuperShift, D, exec, way-edges togglepin slidetest:stats
bind = SuperShift, A, exec, way-edges togglepin slidetest:time


# eww
# $EWW_SCRIPTS = ~/.config/eww/scripts
# bind = Super, U, exec, $EWW_SCRIPTS/toggle_launcher.sh
# bind = Super, A, exec, $EWW_SCRIPTS/toggle_control_center.sh
# bind = Super, M, exec, $EWW_SCRIPTS/toggle_powermenu.sh
# $script = ~/.config/eww/scripts/toggle_osd.sh
# bind = ,XF86AudioMute, exec, $script --toggle

# Sink volume raise
# bind = ,XF86AudioRaiseVolume, exec, $script --up
# Sink volume lower
# bind = ,XF86AudioLowerVolume, exec, $script --down
# Sink volume toggle mute


Config File: /home/ogios/.config/hypr/env.conf: Read Succeeded
env = GTK_IM_MODULE, fcitx
env = QT_IM_MODULE, fcitx
env = XMODIFIERS, @im=fcitx
env = SDL_IM_MODULE, fcitx

env = QT_QPA_PLATFORMTHEME, qt5ct
env = WLR_NO_HARDWARE_CURSORS, 1
env = XCURSOR_SIZE,24
# env = XDG_CURRENT_DESKTOP, GNOME
# env = WLR_DRM_NO_ATOMIC, 1

# env = QT_QPA_PLATFORMTHEME,qt5ct  #necessary to run qt5ct properly
# env = GDK_BACKEND,wayland,x11
# env = QT_QPA_PLATFORM,wayland;xcb
# env = CLUTTER_BACKEND,wayland
env = XDG_CURRENT_DESKTOP,Hyprland
env = XDG_SESSION_DESKTOP,Hyprland
# env = QT_AUTO_SCREEN_SCALE_FACTOR,1
# env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1


env = QT_QPA_PLATFORM, wayland
# env = QT_STYLE_OVERRIDE,kvantum

# env = WLR_DRM_NO_ATOMIC, 1


env = LIBVA_DRIVER_NAME,nvidia
env = XDG_SESSION_TYPE,wayland
env = GBM_BACKEND,nvidia-drm
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
env = ELECTRON_OZONE_PLATFORM_HINT,auto
env = NVD_BACKEND,direct


Config File: /home/ogios/.config/hypr/look.conf: Read Succeeded
# vi: ft=hyprlang

render {
  explicit_sync = 1
}

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

    # Fallback colors
    col.active_border = rgba(645CBBFF)
    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 = false # some guy told me tearing might make things smoother idk
    allow_tearing = true # some guy told me tearing might make things smoother idk
}

master {
    # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
    # new_is_master = true
}

dwindle {
	preserve_split = true # you definitely want this
	no_gaps_when_only = 1
	smart_split = false
	smart_resizing = false
}

decoration {
    rounding = 20
    
    # blur {
    #     enabled = false
    #     xray = true
    #     special = false
    #     new_optimizations = on
    #     size = 10
    #     passes = 4
    #     brightness = 1
    #     noise = 0.01
    #     contrast = 1
    #     #vibrancy = 0.1
    #     #vibrancy_darkness = 0
    # }
    # # Shadow
    # drop_shadow = true
    # shadow_range = 15
    # shadow_offset = 0 2
    # shadow_render_power = 6
    # col.shadow = rgba(00000044)
    drop_shadow = true
    # shadow_ignore_window = true
    shadow_range = 30
    shadow_offset = 0 0
    shadow_render_power = 4
    col.shadow = rgba(00000044)

    # Dim
    dim_inactive = true
    dim_strength = 0.2
    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
    # # 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, 7, fluent_decel, slidefade 15%
    # # animation = specialWorkspace, 1, 3, md3_decel, slidefadevert 15%
    animation = specialWorkspace, 1, 3, md3_decel, slidevert
}


Config File: /home/ogios/.config/hypr/rules.conf: Read Succeeded
# Window rules
# windowrule = noblur,.*  # Disables blur for windows. Substantially improves performance.

workspace = 1, monitor:eDP-1

#windowrule = opacity 0.94 override 0.94 override, .*
# windowrule = float, ^(steam)$
windowrule = float, ^(guifetch)$ # FlafyDev/guifetch
windowrule = pin, ^(showmethekey-gtk)$
# windowrule = fullscreen, ^(kitty)$
# windowrule = fullscreen, ^(firefox)$
windowrulev2 = tile,class:(wpsoffice)

# 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)(.*)$ 

# Layer rules
layerrule = xray 1, .*
#layerrule = noanim, .*
layerrule = noanim, selection
layerrule = noanim, overview
layerrule = noanim, anyrun
layerrule = blur, swaylock

layerrule = blur, eww
layerrule = ignorealpha 0.8, eww
layerrule = noanim, noanim
layerrule = blur, 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

windowrule = float,^(pavucontrol)$
windowrule = pin,^(pavucontrol)$
windowrule = size 900 500,^(pavucontrol)$

windowrule = float,^(zenity)$
windowrule = pin,^(zenity)$

layerrule = blur,^(eww-blur)$
layerrule = blur,^(gtk-layer-shell)$

# swaync
# layerrule = blur, swaync-control-center
# layerrule = blur, swaync-notification-window
# layerrule = ignorezero, swaync-control-center
# layerrule = ignorezero, swaync-notification-window
# layerrule = ignorealpha 0.5, swaync-control-center
# layerrule = ignorealpha 0.5, swaync-notification-window

#layerrule = blur, bar
#layerrule = ignorealpha 0.64, bar
#layerrule = blur, corner.*
#layerrule = ignorealpha 0.69, corner.*
#layerrule = blur, dock
#layerrule = ignorealpha 0.69, dock
#layerrule = blur, indicator.*
#layerrule = ignorealpha 0.69, indicator.*
#layerrule = blur, overview
#layerrule = ignorealpha 0.69, overview
#layerrule = blur, cheatsheet
#layerrule = ignorealpha 0.69, cheatsheet
#layerrule = blur, sideright
#layerrule = ignorealpha 0.69, sideright
#layerrule = blur, sideleft
#layerrule = ignorealpha 0.69, sideleft
#layerrule = blur, indicator*
#layerrule = ignorealpha 0.69, indicator*
#layerrule = blur, osk
#layerrule = ignorealpha 0.69, osk


Config File: /home/ogios/.config/hypr/plugins.conf: Read Succeeded
## scroller
source=~/.config/hypr/plugin_confs/scroller.conf 
# source=~/.config/hypr/plugin_confs/slidr.conf


Config File: /home/ogios/.config/hypr/plugin_confs/scroller.conf: Read Succeeded
# vi: ft=hyprlang

unbind = $mainMod, H, movefocus, l
unbind = $mainMod, L, movefocus, r
unbind = $mainMod, K, movefocus, u
unbind = $mainMod, J, movefocus, d

# Move focus with mainMod + arrow keys
bind = $mainMod, H, scroller:movefocus, l
bind = $mainMod, L, scroller:movefocus, r
bind = $mainMod, K, scroller:movefocus, u
bind = $mainMod, J, scroller:movefocus, d
bind = $mainMod, left, scroller:movefocus, l
bind = $mainMod, right, scroller:movefocus, r
bind = $mainMod, up, scroller:movefocus, u
bind = $mainMod, down, scroller:movefocus, d
bind = $mainMod, home, scroller:movefocus, begin
bind = $mainMod, end, scroller:movefocus, end

# Movement
bind = $mainMod SHIFT, h, scroller:movewindow, l
bind = $mainMod SHIFT, l, scroller:movewindow, r
bind = $mainMod SHIFT, k, scroller:movewindow, u
bind = $mainMod SHIFT, j, scroller:movewindow, d
bind = $mainMod SHIFT, left, scroller:movewindow, l
bind = $mainMod SHIFT, right, scroller:movewindow, r
bind = $mainMod SHIFT, up, scroller:movewindow, u
bind = $mainMod SHIFT, down, scroller:movewindow, d
bind = $mainMod SHIFT, home, scroller:movewindow, begin
bind = $mainMod SHIFT, end, scroller:movewindow, end

# Modes
bind = $mainMod, bracketleft, scroller:setmode, row
bind = $mainMod, bracketright, scroller:setmode, col

# Sizing keys
bind = $mainMod, equal, scroller:cyclesize, next
bind = $mainMod, minus, scroller:cyclesize, prev

# # Admit/Expel
# bind = $mainMod, I, scroller:admitwindow,
# bind = $mainMod, O, scroller:expelwindow,

# Center submap
# will switch to a submap called center
bind = $mainMod, C, submap, center
# will start a submap called "center"
submap = center
# sets repeatable binds for resizing the active window
bind = , C, scroller:alignwindow, c
bind = , C, submap, reset
bind = , right, scroller:alignwindow, r
bind = , right, submap, reset
bind = , left, scroller:alignwindow, l
bind = , left, submap, reset
bind = , up, scroller:alignwindow, u
bind = , up, submap, reset
bind = , down, scroller:alignwindow, d
bind = , down, submap, reset
# use reset to go back to the global submap
bind = , escape, submap, reset
# will reset the submap, meaning end the current one and return to the global one
submap = reset

# Resize submap
# will switch to a submap called resize
bind = $mainMod SHIFT, R, submap, resize
# will start a submap called "resize"
submap = resize
# sets repeatable binds for resizing the active window
binde = , l, resizeactive, 100 0
binde = , h, resizeactive, -100 0
binde = , k, resizeactive, 0 -100
binde = , j, resizeactive, 0 100
binde = , right, resizeactive, 100 0
binde = , left, resizeactive, -100 0
binde = , up, resizeactive, 0 -100
binde = , down, resizeactive, 0 100
# use reset to go back to the global submap
bind = , escape, submap, reset
# will reset the submap, meaning end the current one and return to the global one
submap = reset

# Fit size submap
# will switch to a submap called fitsize
bind = $mainMod, W, submap, fitsize
# will start a submap called "fitsize"
submap = fitsize
# sets binds for fitting columns/windows in the screen
bind = , W, scroller:fitsize, visible
bind = , W, submap, reset
bind = , right, scroller:fitsize, toend
bind = , right, submap, reset
bind = , left, scroller:fitsize, tobeg
bind = , left, submap, reset
bind = , up, scroller:fitsize, active
bind = , up, submap, reset
bind = , down, scroller:fitsize, all
bind = , down, submap, reset
# use reset to go back to the global submap
bind = , escape, submap, reset
# will reset the submap, meaning end the current one and return to the global one
submap = reset


unbind = $mainMod, D
bindl = Super, D, scroller:fitsize, active


# overview keys
# bind key to toggle overview (normal)
bind = $mainMod, tab, scroller:toggleoverview
# overview submap
# will switch to a submap called overview
bind = $mainMod, tab, submap, overview
# will start a submap called "overview"
submap = overview
bind = , l, scroller:movefocus, right
bind = , h, scroller:movefocus, left
bind = , k, scroller:movefocus, up
bind = , j, scroller:movefocus, down
bind = , right, scroller:movefocus, right
bind = , left, scroller:movefocus, left
bind = , up, scroller:movefocus, up
bind = , down, scroller:movefocus, down
# use reset to go back to the global submap
bind = , escape, scroller:toggleoverview,
bind = , escape, submap, reset
bind = , return, scroller:toggleoverview,
bind = , return, submap, reset
bind = $mainMod, q, killactive,
bind = $mainMod, tab, scroller:toggleoverview,
bind = $mainMod, tab, submap, reset
# will reset the submap, meaning end the current one and return to the global one
submap = reset


# Marks
bind = $mainMod, M, submap, marksadd
submap = marksadd
bind = , a, scroller:marksadd, a
bind = , a, submap, reset
bind = , b, scroller:marksadd, b
bind = , b, submap, reset
bind = , c, scroller:marksadd, c
bind = , c, submap, reset
bind = , escape, submap, reset
submap = reset

bind = $mainMod SHIFT, M, submap, marksdelete
submap = marksdelete
bind = , a, scroller:marksdelete, a
bind = , a, submap, reset
bind = , b, scroller:marksdelete, b
bind = , b, submap, reset
bind = , c, scroller:marksdelete, c
bind = , c, submap, reset
bind = , escape, submap, reset
submap = reset

bind = $mainMod, apostrophe, submap, marksvisit
submap = marksvisit
bind = , a, scroller:marksvisit, a
bind = , a, submap, reset
bind = , b, scroller:marksvisit, b
bind = , b, submap, reset
bind = , c, scroller:marksvisit, c
bind = , c, submap, reset
bind = , escape, submap, reset
submap = reset

bind = $mainMod CTRL, M, scroller:marksreset

plugin {
    scroller {
        column_default_width = twothirds
        focus_wrap = true
    }
}

general {
    layout = scroller
}

======Config-End========

Description

after updating to hyprland 0.45.0, this happens

How to reproduce

hyprpm update on hyprland 0.45.0

Crash reports, logs, images, videos

3s ◇┈◉ hyprpm -s -v update
[v] version returned: Hyprland 0.45.0 built from branch  at commit  dirty ().
Date: 
Tag: , commits: 
built against aquamarine 0.4.3


flags set:
debug


[v] parsed commit  at branch  on , commits 0

! Cloning https://github.com/hyprwm/Hyprland, this might take a moment.                                                                                                                         
✔ Hyprland cloned                                                                                                                                                                               
[v] will run: cd /tmp/hyprpm/hyprland-ogios && git checkout  2>&1                                                                                                                               
[v] git returned (co): Your branch is up to date with 'origin/main'.                                                                                                                            

[v] git returned (rs): rm 'subprojects/tracy'                                                                                                                                                   
HEAD is now at a29cfa78 logging: Add some context to config error logs (#8326)

✔ checked out to running ver                                                                                                                                                                    
! configuring Hyprland                                                                                                                                                                          
[v] setting PREFIX for cmake to /home/ogios/.local/share/hyprpm/headersRoot                                                                                                                     
[v] cmake returned: Not searching for unused variables given on the command line.                                                                                                               
-- The C compiler identification is GNU 14.2.1
-- The CXX compiler identification is GNU 14.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /sbin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /sbin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Gathering git info
-- Found PkgConfig: /sbin/pkg-config (found version "2.1.1")
-- Checking for module 'udis86>=1.7.2'
--   Package 'udis86', required by 'virtual:world', not found
-- Found Python3: /sbin/python3.12 (found version "3.12.7") found components: Interpreter
Building itab.c/itab.h...
-- udis86 dependency not found, falling back to subproject
-- Found wayland-protocols at //usr/share/wayland-protocols
-- Found wayland-scanner pkgdatadir at //usr/share/wayland
-- Configuring Hyprland in Release with CMake
-- Checking deps...
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found OpenGL: /usr/lib/libOpenGL.so  found components: GLES3
-- Checking for module 'hyprutils>=0.2.4'
--   Found hyprutils, version 0.2.4
-- Checking for module 'aquamarine>=0.4.2'
--   Found aquamarine, version 0.4.5
-- Checking for modules 'xkbcommon;uuid;wayland-server>=1.22.90;wayland-protocols;cairo;pango;pangocairo;pixman-1;xcursor;libdrm;libinput;gbm;gio-2.0;hyprlang>=0.3.2;hyprcursor>=0.1.7;hyprutils>=0.2.3'
--   Found xkbcommon, version 1.7.0
--   Found uuid, version 2.40.2
--   Found wayland-server, version 1.23.1
--   Found wayland-protocols, version 1.38
--   Found cairo, version 1.18.2
--   Found pango, version 1.54.0
--   Found pangocairo, version 1.54.0
--   Found pixman-1, version 0.44.0
--   Found xcursor, version 1.2.3
--   Found libdrm, version 2.4.123
--   Found libinput, version 1.26.2
--   Found gbm, version 24.2.6-arch1.1
--   Found gio-2.0, version 2.82.2
--   Found hyprlang, version 0.5.3
--   Found hyprcursor, version 0.1.10
--   Found hyprutils, version 0.2.4
-- Looking for execinfo.h
-- Looking for execinfo.h - found
-- Configuration supports execinfo
-- Looking for backtrace in execinfo
-- Looking for backtrace in execinfo - not found
-- Looking for sys/timerfd.h
-- Looking for sys/timerfd.h - found
-- Checking for module 'epoll-shim'
--   Package 'epoll-shim', required by 'virtual:world', not found
-- XWAYLAND Enabled (NO_XWAYLAND not defined) checking deps...
-- Checking for modules 'xcb;xcb-render;xcb-xfixes;xcb-icccm;xcb-composite;xcb-res;xcb-errors'
--   Found xcb, version 1.17.0
--   Found xcb-render, version 1.17.0
--   Found xcb-xfixes, version 1.17.0
--   Found xcb-icccm, version 0.4.2
--   Found xcb-composite, version 1.17.0
--   Found xcb-res, version 1.17.0
--   Found xcb-errors, version 1.0.1
-- SYSTEMD support is requested (NO_SYSTEMD not defined)...
-- UWSM support is enabled (NO_UWSM not defined)...
-- Setting precompiled headers
-- Setting link libraries
-- Checking for module 'hyprland-protocols>=0.4.0'
--   Found hyprland-protocols, version 0.4.0
-- hyprland-protocols dependency set to //usr/share/hyprland-protocols
-- Checking for module 'hyprutils>=0.1.1'
--   Found hyprutils, version 0.2.4
-- Checking for modules 'tomlplusplus;hyprutils>=0.2.4'
--   Found tomlplusplus, version 3.4.0
--   Found hyprutils, version 0.2.4
-- Configuring done (2.0s)
-- Generating done (0.0s)
-- Build files have been written to: /tmp/hyprpm/hyprland-ogios/build

✔ configured Hyprland                                                                                                                                                                           
[v] installation will run: sed -i -e "s#PREFIX = /usr/local#PREFIX = /home/ogios/.local/share/hyprpm/headersRoot#" /tmp/hyprpm/hyprland-ogios/Makefile && cd /tmp/hyprpm/hyprland-ogios && make installheaders
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━  4 / 5  Installing sources[v] installer returned: # remove previous headers from hyprpm's dir                                               
rm -fr /home/ogios/.local/share/hyprpm/headersRoot/include/hyprland
mkdir -p /home/ogios/.local/share/hyprpm/headersRoot/include/hyprland
mkdir -p /home/ogios/.local/share/hyprpm/headersRoot/include/hyprland/protocols
mkdir -p /home/ogios/.local/share/hyprpm/headersRoot/share/pkgconfig
cmake --build ./build --config Release --target generate-protocol-headers
[0/2] Re-checking globbed directories...
[1/47] Generating /tmp/hyprpm/hyprland-ogios/protocols/hyprland-global-shortcuts-v1.cpp, /tmp/hyprpm/hyprland-ogios/protocols/hyprland-global-shortcuts-v1.hpp
[2/47] Generating /tmp/hyprpm/hyprland-ogios/protocols/text-input-unstable-v1.cpp, /tmp/hyprpm/hyprland-ogios/protocols/text-input-unstable-v1.hpp
[3/47] Generating /tmp/hyprpm/hyprland-ogios/protocols/hyprland-toplevel-export-v1.cpp, /tmp/hyprpm/hyprland-ogios/protocols/hyprland-toplevel-export-v1.hpp
[4/47] Generating /tmp/hyprpm/hyprland-ogios/protocols/wlr-screencopy-unstable-v1.cpp, /tmp/hyprpm/hyprland-ogios/protocols/wlr-screencopy-unstable-v1.hpp
[5/47] Generating /tmp/hyprpm/hyprland-ogios/protocols/wlr-gamma-control-unstable-v1.cpp, /tmp/hyprpm/hyprland-ogios/protocols/wlr-gamma-control-unstable-v1.hpp
[6/47] Generating /tmp/hyprpm/hyprland-ogios/protocols/wlr-foreign-toplevel-management-unstable-v1.cpp, /tmp/hyprpm/hyprland-ogios/protocols/wlr-foreign-toplevel-management-unstable-v1.hpp
[7/47] Generating /tmp/hyprpm/hyprland-ogios/protocols/wlr-output-power-management-unstable-v1.cpp, /tmp/hyprpm/hyprland-ogios/protocols/wlr-output-power-management-unstable-v1.hpp
[8/47] Generating /tmp/hyprpm/hyprland-ogios/protocols/virtual-keyboard-unstable-v1.cpp, /tmp/hyprpm/hyprland-ogios/protocols/virtual-keyboard-unstable-v1.hpp
[9/47] Generating /tmp/hyprpm/hyprland-ogios/protocols/wlr-virtual-pointer-unstable-v1.cpp, /tmp/hyprpm/hyprland-ogios/protocols/wlr-virtual-pointer-unstable-v1.hpp
[10/47] Generating /tmp/hyprpm/hyprland-ogios/protocols/input-method-unstable-v2.cpp, /tmp/hyprpm/hyprland-ogios/protocols/input-method-unstable-v2.hpp
[11/47] Generating /tmp/hyprpm/hyprland-ogios/protocols/kde-server-decoration.cpp, /tmp/hyprpm/hyprland-ogios/protocols/kde-server-decoration.hpp
[12/47] Generating /tmp/hyprpm/hyprland-ogios/protocols/wlr-data-control-unstable-v1.cpp, /tmp/hyprpm/hyprland-ogios/protocols/wlr-data-control-unstable-v1.hpp
[13/47] Generating /tmp/hyprpm/hyprland-ogios/protocols/hyprland-focus-grab-v1.cpp, /tmp/hyprpm/hyprland-ogios/protocols/hyprland-focus-grab-v1.hpp
[14/47] Generating /tmp/hyprpm/hyprland-ogios/protocols/wlr-output-management-unstable-v1.cpp, /tmp/hyprpm/hyprland-ogios/protocols/wlr-output-management-unstable-v1.hpp
[15/47] Generating /tmp/hyprpm/hyprland-ogios/protocols/wlr-layer-shell-unstable-v1.cpp, /tmp/hyprpm/hyprland-ogios/protocols/wlr-layer-shell-unstable-v1.hpp
[16/47] Generating /tmp/hyprpm/hyprland-ogios/protocols/wayland-drm.cpp, /tmp/hyprpm/hyprland-ogios/protocols/wayland-drm.hpp
[17/47] Generating /tmp/hyprpm/hyprland-ogios/protocols/hyprland-ctm-control-v1.cpp, /tmp/hyprpm/hyprland-ogios/protocols/hyprland-ctm-control-v1.hpp
[18/47] Generating /tmp/hyprpm/hyprland-ogios/protocols/tearing-control-v1.cpp, /tmp/hyprpm/hyprland-ogios/protocols/tearing-control-v1.hpp
[19/47] Generating /tmp/hyprpm/hyprland-ogios/protocols/fractional-scale-v1.cpp, /tmp/hyprpm/hyprland-ogios/protocols/fractional-scale-v1.hpp
[20/47] Generating /tmp/hyprpm/hyprland-ogios/protocols/xdg-output-unstable-v1.cpp, /tmp/hyprpm/hyprland-ogios/protocols/xdg-output-unstable-v1.hpp
[21/47] Generating /tmp/hyprpm/hyprland-ogios/protocols/cursor-shape-v1.cpp, /tmp/hyprpm/hyprland-ogios/protocols/cursor-shape-v1.hpp
[22/47] Generating /tmp/hyprpm/hyprland-ogios/protocols/idle-inhibit-unstable-v1.cpp, /tmp/hyprpm/hyprland-ogios/protocols/idle-inhibit-unstable-v1.hpp
[23/47] Generating /tmp/hyprpm/hyprland-ogios/protocols/relative-pointer-unstable-v1.cpp, /tmp/hyprpm/hyprland-ogios/protocols/relative-pointer-unstable-v1.hpp
[24/47] Generating /tmp/hyprpm/hyprland-ogios/protocols/xdg-decoration-unstable-v1.cpp, /tmp/hyprpm/hyprland-ogios/protocols/xdg-decoration-unstable-v1.hpp
[25/47] Generating /tmp/hyprpm/hyprland-ogios/protocols/ext-foreign-toplevel-list-v1.cpp, /tmp/hyprpm/hyprland-ogios/protocols/ext-foreign-toplevel-list-v1.hpp
[26/47] Generating /tmp/hyprpm/hyprland-ogios/protocols/alpha-modifier-v1.cpp, /tmp/hyprpm/hyprland-ogios/protocols/alpha-modifier-v1.hpp
[27/47] Generating /tmp/hyprpm/hyprland-ogios/protocols/keyboard-shortcuts-inhibit-unstable-v1.cpp, /tmp/hyprpm/hyprland-ogios/protocols/keyboard-shortcuts-inhibit-unstable-v1.hpp
[28/47] Generating /tmp/hyprpm/hyprland-ogios/protocols/ext-idle-notify-v1.cpp, /tmp/hyprpm/hyprland-ogios/protocols/ext-idle-notify-v1.hpp
[29/47] Generating /tmp/hyprpm/hyprland-ogios/protocols/text-input-unstable-v3.cpp, /tmp/hyprpm/hyprland-ogios/protocols/text-input-unstable-v3.hpp
[30/47] Generating /tmp/hyprpm/hyprland-ogios/protocols/pointer-gestures-unstable-v1.cpp, /tmp/hyprpm/hyprland-ogios/protocols/pointer-gestures-unstable-v1.hpp
[31/47] Generating /tmp/hyprpm/hyprland-ogios/protocols/pointer-constraints-unstable-v1.cpp, /tmp/hyprpm/hyprland-ogios/protocols/pointer-constraints-unstable-v1.hpp
[32/47] Generating /tmp/hyprpm/hyprland-ogios/protocols/xdg-activation-v1.cpp, /tmp/hyprpm/hyprland-ogios/protocols/xdg-activation-v1.hpp
[33/47] Generating /tmp/hyprpm/hyprland-ogios/protocols/ext-session-lock-v1.cpp, /tmp/hyprpm/hyprland-ogios/protocols/ext-session-lock-v1.hpp
[34/47] Generating /tmp/hyprpm/hyprland-ogios/protocols/viewporter.cpp, /tmp/hyprpm/hyprland-ogios/protocols/viewporter.hpp
[35/47] Generating /tmp/hyprpm/hyprland-ogios/protocols/xdg-dialog-v1.cpp, /tmp/hyprpm/hyprland-ogios/protocols/xdg-dialog-v1.hpp
[36/47] Generating /tmp/hyprpm/hyprland-ogios/protocols/xwayland-shell-v1.cpp, /tmp/hyprpm/hyprland-ogios/protocols/xwayland-shell-v1.hpp
[37/47] Generating /tmp/hyprpm/hyprland-ogios/protocols/tablet-v2.cpp, /tmp/hyprpm/hyprland-ogios/protocols/tablet-v2.hpp
[38/47] Generating /tmp/hyprpm/hyprland-ogios/protocols/presentation-time.cpp, /tmp/hyprpm/hyprland-ogios/protocols/presentation-time.hpp
[39/47] Generating /tmp/hyprpm/hyprland-ogios/protocols/linux-dmabuf-v1.cpp, /tmp/hyprpm/hyprland-ogios/protocols/linux-dmabuf-v1.hpp
[40/47] Generating /tmp/hyprpm/hyprland-ogios/protocols/drm-lease-v1.cpp, /tmp/hyprpm/hyprland-ogios/protocols/drm-lease-v1.hpp
[41/47] Generating /tmp/hyprpm/hyprland-ogios/protocols/primary-selection-unstable-v1.cpp, /tmp/hyprpm/hyprland-ogios/protocols/primary-selection-unstable-v1.hpp
[42/47] Generating /tmp/hyprpm/hyprland-ogios/protocols/linux-drm-syncobj-v1.cpp, /tmp/hyprpm/hyprland-ogios/protocols/linux-drm-syncobj-v1.hpp
[43/47] Generating /tmp/hyprpm/hyprland-ogios/protocols/single-pixel-buffer-v1.cpp, /tmp/hyprpm/hyprland-ogios/protocols/single-pixel-buffer-v1.hpp
[44/47] Generating /tmp/hyprpm/hyprland-ogios/protocols/xdg-shell.cpp, /tmp/hyprpm/hyprland-ogios/protocols/xdg-shell.hpp
[45/47] Generating /tmp/hyprpm/hyprland-ogios/protocols/wayland.cpp, /tmp/hyprpm/hyprland-ogios/protocols/wayland.hpp
[46/47] Generating /tmp/hyprpm/hyprland-ogios/protocols/security-context-v1.cpp, /tmp/hyprpm/hyprland-ogios/protocols/security-context-v1.hpp
find src -name '*.h*' -print0 | cpio --quiet -0dump /home/ogios/.local/share/hyprpm/headersRoot/include/hyprland
cp ./protocols/*.h* /home/ogios/.local/share/hyprpm/headersRoot/include/hyprland/protocols
cp ./build/hyprland.pc /home/ogios/.local/share/hyprpm/headersRoot/share/pkgconfig
if [ -d /usr/share/pkgconfig ]; then cp ./build/hyprland.pc /usr/share/pkgconfig 2>/dev/null || true; fi
chmod -R 755 /home/ogios/.local/share/hyprpm/headersRoot/include/hyprland
chmod 755 /home/ogios/.local/share/hyprpm/headersRoot/share/pkgconfig

✖ failed to install headers with error code 4 (Headers version mismatched)                                                                                                                      
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  5 / 5  Failed                                                                                                                              

✖ Headers version mismatch. Please run hyprpm update to fix those.
@ogios ogios added the bug Something isn't working label Nov 12, 2024
@ogios
Copy link
Author

ogios commented Nov 12, 2024

@ogios
Copy link
Author

ogios commented Nov 12, 2024

Applying what dawser suggest and rebuild the package temporarily fixed this.

@vaxerski
Copy link
Member

yes, this is a packaging issue. I don't know what happened there, Arch did some changes to the package recently, but all the version information is properly stored in the source tarball, and in the git repo version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants