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

hyprpm failed to install headers with error code 4 #7112

Closed
Muhammad95959 opened this issue Jul 30, 2024 · 1 comment
Closed

hyprpm failed to install headers with error code 4 #7112

Muhammad95959 opened this issue Jul 30, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Muhammad95959
Copy link

Muhammad95959 commented Jul 30, 2024

Regression?

Yes

System Info and Version

System/Version info
Hyprland, built from branch main at commit cc7c117fe76ff0a4da56b18026c725501de92c84  (output: minor tearing fixes).
Date: Tue Jul 30 15:50:14 2024
Tag: v0.41.2-141-gcc7c117f, commits: 5027

flags: (if any)


System Information:
System name: Linux
Node name: archlinux
Release: 6.6.42-1-lts
Version: #1 SMP PREEMPT_DYNAMIC Thu, 25 Jul 2024 08:14:54 +0000


GPU information: 
00:02.0 VGA compatible controller [0300]: Intel Corporation CoffeeLake-H GT2 [UHD Graphics 630] [8086:3e9b] (prog-if 00 [VGA controller])
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation TU117M [GeForce GTX 1650 Mobile / Max-Q] [10de:1f91] (rev a1) (prog-if 00 [VGA controller])
NVRM version: NVIDIA UNIX x86_64 Kernel Module  535.183.01  Sun May 12 19:39:15 UTC 2024


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/muhammad/.config/hypr/hyprland.conf: Read Succeeded
################
### MONITORS ###
################

# https://wiki.hyprland.org/Configuring/Monitors

monitor=,preferred,auto,auto
monitor=eDP-1,1920x1080@60,auto,1

#################
### AUTOSTART ###
#################

exec-once = waybar
exec-once = udiskie
exec-once = sudo ydotoold
exec-once = hyprpm reload
exec-once = waypaper --restore
exec-once = copyq --start-server
exec-once = amixer set Capture 80%
exec-once = xhost +si:localuser:$USER
exec-once = sudo virsh net-start default
exec-once = ~/Scripts/backup_zsh_history.sh
exec-once = xss-lock --transfer-sleep-lock -- hyprlock
exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec = killall volume_subscribe.sh ; ~/Scripts/volume_subscribe.sh
exec = volnoti -t 2

#############################
### ENVIRONMENT VARIABLES ###
#############################

# https://wiki.hyprland.org/Configuring/Environment-variables

env = XCURSOR_SIZE,24
env = HYPRCURSOR_SIZE,24

env = QT_QPA_PLATFORMTHEME,qt5ct
env = GTK_THEME,Arc-Dark
env = XCURSOR_THEME,Oxygen-35-Black-Ghost

env = LIBVA_DRIVER_NAME,nvidia
env = XDG_SESSION_TYPE,wayland
env = __GLX_VENDOR_LIBRARY_NAME,nvidia

#####################
### LOOK AND FEEL ###
#####################

# https://wiki.hyprland.org/Configuring/Variables

# https://wiki.hyprland.org/Configuring/Variables/#general
general {
  layout = hy3

  gaps_in = 5
  gaps_out = 5,10,5,10
  border_size = 2
  resize_on_border = false 

  # https://wiki.hyprland.org/Configuring/Tearing
  allow_tearing = false

  # https://wiki.hyprland.org/Configuring/Variables/#variable-types
  # col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
  # col.active_border = rgba(7b58dcee) rgba(9b58dcee) 45deg
  # col.active_border = rgba(61afefee) rgba(51dfffee) 45deg
  col.active_border = rgba(ed8796ee) rgba(ed87d6ee) 45deg
  col.inactive_border = rgba(595959aa)
}

# https://wiki.hyprland.org/Configuring/Variables/#decoration
decoration {
  rounding = 5

  # Change transparency of focused and unfocused windows
  active_opacity = 1.0
  inactive_opacity = 1.0

  drop_shadow = true
  shadow_range = 4
  shadow_render_power = 3
  col.shadow = rgba(1a1a1aee)

  # https://wiki.hyprland.org/Configuring/Variables/#blur
  blur {
    enabled = false
    size = 3
    passes = 1
    vibrancy = 0.1696
  }
}

# https://wiki.hyprland.org/Configuring/Variables/#animations
animations {
  enabled = true

  # https://wiki.hyprland.org/Configuring/Animations
  # default animations configuration
  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

  # animation = fade, 1, 3, default
  # animation = fadeLayers, 1, 6, default
  # animation = windows, 1, 5, default, slide
  animation = workspaces, 1, 3, default, fade
}

# https://wiki.hyprland.org/Configuring/Dwindle-Layout
dwindle {
  pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
  preserve_split = true # You probably want this
  # no_gaps_when_only = 1
}

# https://wiki.hyprland.org/Configuring/Master-Layout
master {
  mfact = 0.5
  # new_is_master = true
  new_on_top = true
  # no_gaps_when_only = 1
}

# https://wiki.hyprland.org/Configuring/Variables/#misc
misc { 
  disable_hyprland_logo = true
}

# https://wiki.hyprland.org/Configuring/Variables/#gestures
gestures {
  workspace_swipe = true
}

cursor {
  no_warps = true
}

#############
### INPUT ###
#############

# https://wiki.hyprland.org/Configuring/Variables/#input
input {
  kb_layout = us,eg
  kb_options = lv3:ralt_alt,grp:alt_shift_toggle
  # kb_options = lv3:ralt_alt
  # kb_model =
  # kb_variant =
  # kb_options =
  # kb_rules =
  follow_mouse = 0
  float_switch_override_focus = 0
  sensitivity = 0.6 # -1.0 - 1.0, 0 means no modification.
  repeat_delay = 240
  repeat_rate = 42

  touchpad {
    natural_scroll = true
  }
}

#############
### debug ###
#############

debug {
  disable_logs = false
  suppress_errors = true
}

##############################
### WINDOWS AND WORKSPACES ###
##############################

# https://wiki.hyprland.org/Configuring/Window-Rules
# https://wiki.hyprland.org/Configuring/Workspace-Rules

# Example windowrule v2
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
windowrulev2 = float,class:(floatingkitty)
windowrulev2 = float,class:(RangerFileChooser)
windowrulev2 = float,class:(gcolor3)
windowrulev2 = float,class:(arandr)
windowrulev2 = float,class:(pomatez)
windowrulev2 = float,class:(com.github.hluk.copyq)
windowrulev2 = size 1280 720,class:(com.github.hluk.copyq)
windowrulev2 = float,class:(net.sapples.LiveCaptions)
windowrulev2 = move 500 900,class:(net.sapples.LiveCaptions)
windowrulev2 = float,class:(waypaper)
windowrulev2 = size 800 450,class:(waypaper)
windowrulev2 = move 1110 620,class:(waypaper)
windowrulev2 = tile,class:(Timeshift-gtk)
windowrulev2 = tile,class:(com-jetbrains-toolbox-entry-ToolboxEntry)
windowrulev2 = noinitialfocus,class:(deadd-notification-center)
windowrulev2 = move 20 45,class:(deadd-notification-center)
windowrulev2 = animation slide left,class:(deadd-notification-center)
windowrulev2 = float,class:^(ueberzugpp)(.*)$
windowrulev2 = noanim,class:^(ueberzugpp)(.*)$
windowrulev2 = move 3000 3000,class:^(ueberzugpp)(.*)$

windowrulev2 = suppressevent maximize, class:.* # You'll probably like this.

layerrule = blur, waybar

###############
### Plugins ###
###############

plugin {
  hy3 {
    # disable gaps when only one window is onscreen
    # 0 - always show gaps
    # 1 - hide gaps with a single window onscreen
    # 2 - 1 but also show the window border
    no_gaps_when_only = 0

    # policy controlling what happens when a node is removed from a group,
    # leaving only a group
    # 0 = remove the nested group
    # 1 = keep the nested group
    # 2 = keep the nested group only if its parent is a tab group
    node_collapse_policy = 2

    # offset from group split direction when only one window is in a group
    group_inset = 10

    # if a tab group will automatically be created for the first window spawned in a workspace
    # tab_first_window = <bool>

    # tab group settings
    tabs {
      # height of the tab bar
      height = 15

      # padding between the tab bar and its focused node
      padding = 5

      # the tab bar should animate in/out from the top instead of below the window
      from_top = false

      # rounding of tab bar corners
      rounding = 3

      # render the window title on the bar
      render_text = true

      # center the window title
      text_center = false

      # font to render the window title with
      text_font = sans

      # height of the window title
      text_height = 8

      # left padding of the window title
      text_padding = 8

      # active tab bar segment color
      col.active = 0xff32b4ff

      # urgent tab bar segment color
      col.urgent = 0xffff4f4f

      # inactive tab bar segment color
      col.inactive = 0x80808080

      # active tab bar text color
      col.text.active = 0xff000000

      # urgent tab bar text color
      col.text.urgent = 0xff000000

      # inactive tab bar text color
      col.text.inactive = 0xff000000
    }

    # autotiling settings
    autotile {
      # enable autotile
      enable = true

      # make autotile-created groups ephemeral
      ephemeral_groups = true

      # if a window would be squished smaller than this width, a vertical split will be created
      # -1 = never automatically split vertically
      # 0 = always automatically split vertically
      # <number> = pixel height to split at
      trigger_width = 0

      # if a window would be squished smaller than this height, a horizontal split will be created
      # -1 = never automatically split horizontally
      # 0 = always automatically split horizontally
      # <number> = pixel height to split at
      trigger_height = -1

      # a space or comma separated list of workspace ids where autotile should be enabled
      # it's possible to create an exception rule by prefixing the definition with "not:"
      # workspaces = 1,2 # autotiling will only be enabled on workspaces 1 and 2
      # workspaces = not:1,2 # autotiling will be enabled on all workspaces except 1 and 2
      workspaces = all
    }
  }
}

####################
### KEYBINDINGSS ###
####################

# https://wiki.hyprland.org/Configuring/Keywords
$mainMod = SUPER

# https://wiki.hyprland.org/Configuring/Binds
# bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, Return, exec, kitty
bind = $mainMod, SPACE, exec, hyprctl dispatch focuswindow "$(if [ "$(hyprctl activewindow -j | jq ."floating")" = "true" ]; then echo "tiled"; else echo "floating"; fi)"
bind = $mainMod, a, submap, applications
bind = $mainMod, b, exec, brave --test-type
bind = $mainMod, c, exec, copyq toggle
bind = $mainMod, d, exec, thunar
bind = $mainMod, e, hy3:changegroup, opposite
bind = $mainMod, f, fullscreen
bind = $mainMod, i, exec, rofimoji --selector-args="-theme ~/.config/rofi/emoji_dropdown.rasi -theme-str 'window {height:44%; y-offset: -35px;}'"
bind = $mainMod, m, submap, mouse
bind = $mainMod, n, submap, gammarelay
bind = $mainMod, o, submap, scripts
bind = $mainMod, p, exec, XDG_CONFIG_HOME=$HOME/.config/rofi/wayland ~/.config/rofi/wayland/rofi/rofi-pass-wl
bind = $mainMod, q, killactive
bind = $mainMod, r, exec, kitty --class Ranger --hold -e ranger
bind = $mainMod, s, togglespecialworkspace, magic
bind = $mainMod, t, hy3:makegroup, tab
bind = $mainMod, v, hy3:makegroup, opposite
bind = $mainMod, w, hy3:changegroup, toggletab
bind = $mainMod SHIFT, Return, exec, rofi -show drun -theme ~/.config/rofi/launcher.rasi
bind = $mainMod SHIFT, SPACE, togglefloating
bind = $mainMod SHIFT, SPACE, centerwindow
bind = $mainMod SHIFT, c, exec, notify-send.py a --hint boolean:deadd-notification-center:true string:type:clearPopups
bind = $mainMod SHIFT, d, exec, rofi -modi nerdy -show nerdy -theme ~/.config/rofi/emoji_dropdown.rasi -theme-str 'window {height:43%; y-offset: -30px;}'
bind = $mainMod SHIFT, o, submap, executable_scripts
bind = $mainMod SHIFT, p, exec, rofi -show window -theme-str 'window {height:43%; y-offset: -30px;}'
bind = $mainMod SHIFT, q, exec, ~/.config/rofi/scripts/powermenu/type-1/powermenu.sh
bind = $mainMod SHIFT, r, exec, killall waybar; waybar
bind = $mainMod SHIFT, s, movetoworkspace, special:magic
bind = $mainMod SHIFT, t, exec, XDG_CONFIG_HOME=$HOME/.config/rofi/wayland ~/Scripts/brave_translate.sh

# Switch workspaces with mainMod + [0-9]
bind = $mainMod, 1, workspace, 1
bind = $mainMod, 2, workspace, 2
bind = $mainMod, 3, workspace, 3
bind = $mainMod, 4, workspace, 4
bind = $mainMod, 5, workspace, 5
bind = $mainMod, 6, workspace, 6
bind = $mainMod, 7, workspace, 7
bind = $mainMod, 8, workspace, 8
bind = $mainMod, 9, workspace, 9
bind = $mainMod, 0, workspace, 10

# Move active window to a workspace with mainMod + SHIFT + [0-9]
bind = $mainMod CTRL, 1, movetoworkspacesilent, 1
bind = $mainMod CTRL, 2, movetoworkspacesilent, 2
bind = $mainMod CTRL, 3, movetoworkspacesilent, 3
bind = $mainMod CTRL, 4, movetoworkspacesilent, 4
bind = $mainMod CTRL, 5, movetoworkspacesilent, 5
bind = $mainMod CTRL, 6, movetoworkspacesilent, 6
bind = $mainMod CTRL, 7, movetoworkspacesilent, 7
bind = $mainMod CTRL, 8, movetoworkspacesilent, 8
bind = $mainMod CTRL, 9, movetoworkspacesilent, 9
bind = $mainMod CTRL, 0, movetoworkspacesilent, 10

# Move active window to a workspace with mainMod + SHIFT + [0-9]
bind = $mainMod SHIFT, 1, movetoworkspace, 1
bind = $mainMod SHIFT, 2, movetoworkspace, 2
bind = $mainMod SHIFT, 3, movetoworkspace, 3
bind = $mainMod SHIFT, 4, movetoworkspace, 4
bind = $mainMod SHIFT, 5, movetoworkspace, 5
bind = $mainMod SHIFT, 6, movetoworkspace, 6
bind = $mainMod SHIFT, 7, movetoworkspace, 7
bind = $mainMod SHIFT, 8, movetoworkspace, 8
bind = $mainMod SHIFT, 9, movetoworkspace, 9
bind = $mainMod SHIFT, 0, movetoworkspace, 10

# Move focus
binde = $mainMod, h, movefocus, l
binde = $mainMod, l, movefocus, r
binde = $mainMod, k, movefocus, u
binde = $mainMod, j, movefocus, d

# Move Windows
binde = $mainMod SHIFT, h, movewindow, l
binde = $mainMod SHIFT, l, movewindow, r
binde = $mainMod SHIFT, k, movewindow, u
binde = $mainMod SHIFT, j, movewindow, d

# Move floating window
binde = $mainMod, left,  moveactive, -20 0
binde = $mainMod, right, moveactive, 20 0
binde = $mainMod, up,    moveactive, 0 -20
binde = $mainMod, down,  moveactive, 0 20

# Resize Windows
binde = $mainMod CTRL, h, resizeactive, -50 0
binde = $mainMod CTRL, l, resizeactive, 50 0
binde = $mainMod CTRL, k, resizeactive, 0 -50
binde = $mainMod CTRL, j, resizeactive, 0 50

# Resize and center Windows
binde = $mainMod SHIFT CTRL, h, exec, hyprctl dispatch resizeactive -50 0 && hyprctl dispatch centerwindow
binde = $mainMod SHIFT CTRL, l, exec, hyprctl dispatch resizeactive 50 0 && hyprctl dispatch centerwindow
binde = $mainMod SHIFT CTRL, k, exec, hyprctl dispatch resizeactive 0 -50 && hyprctl dispatch centerwindow
binde = $mainMod SHIFT CTRL, j, exec, hyprctl dispatch resizeactive 0 50 && hyprctl dispatch centerwindow

# Volume controls
binde = , XF86AudioRaiseVolume, exec, ~/Scripts/volume_changer.sh vol_inc
binde = , XF86AudioLowerVolume, exec, ~/Scripts/volume_changer.sh vol_dec
binde = , shift+XF86AudioRaiseVolume, exec, ~/Scripts/volume_changer.sh vol_small_inc
binde = , shift+XF86AudioLowerVolume, exec, ~/Scripts/volume_changer.sh vol_small_dec
binde = , XF86AudioMute, exec, ~/Scripts/volume_changer.sh toggle_vol_mute
binde = , XF86AudioMicMute, exec, ~/Scripts/volume_changer.sh toggle_mic_mute

# Brightness controls
binde = , XF86MonBrightnessUp, exec, ~/Scripts/brightness_changer.sh inc
binde = , XF86MonBrightnessDown, exec, ~/Scripts/brightness_changer.sh dec
binde = , shift+XF86MonBrightnessUp, exec, ~/Scripts/brightness_changer.sh exp-inc
binde = , shift+XF86MonBrightnessDown, exec, ~/Scripts/brightness_changer.sh exp-dec

# Media player controls
binde = , XF86AudioPlay, exec, playerctl play-pause
binde = , XF86AudioPause, exec, playerctl play-pause
binde = , XF86AudioNext, exec, playerctl position 5+
binde = , XF86AudioPrev, exec, playerctl position 5-
binde = , shift+XF86AudioNext, exec, playerctl next
binde = , shift+XF86AudioPrev, exec, playerctl previous

bind = , Print, exec, flameshot gui
bind = SHIFT, Print, exec, flameshot gui --region 1920x1080+0+0

# Scroll through existing workspaces with mainMod + scroll
bind = $mainMod, mouse_down, workspace, e+1
bind = $mainMod, mouse_up, workspace, e-1

# Move/resize windows with mainMod + LMB/RMB and dragging
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow

bindl = , switch:[Lid Switch], exec, hyprlock

###############
### SUBMAPS ###
###############

# gammarelay submap
submap = gammarelay
bind = , r, exec, killall wl-gammarelay-rs
bind = , r, submap, reset
bind = , 1, exec, wl-gammarelay-rs & busctl --user set-property rs.wl-gammarelay / rs.wl.gammarelay Temperature q 5000
bind = , 1, submap, reset
bind = , 2, exec, wl-gammarelay-rs & busctl --user set-property rs.wl-gammarelay / rs.wl.gammarelay Temperature q 4000
bind = , 2, submap, reset
bind = , 3, exec, wl-gammarelay-rs & busctl --user set-property rs.wl-gammarelay / rs.wl.gammarelay Temperature q 3500
bind = , 3, submap, reset
bind = , 4, exec, wl-gammarelay-rs & busctl --user set-property rs.wl-gammarelay / rs.wl.gammarelay Temperature q 3000
bind = , 4, submap, reset
bind = , 5, exec, wl-gammarelay-rs & busctl --user set-property rs.wl-gammarelay / rs.wl.gammarelay Temperature q 2500
bind = , 5, submap, reset
bind = , 6, exec, wl-gammarelay-rs & busctl --user set-property rs.wl-gammarelay / rs.wl.gammarelay Temperature q 2000
bind = , 6, submap, reset
bind = , 7, exec, wl-gammarelay-rs & busctl --user set-property rs.wl-gammarelay / rs.wl.gammarelay Temperature q 1750
bind = , 7, submap, reset
bind = , 8, exec, wl-gammarelay-rs & busctl --user set-property rs.wl-gammarelay / rs.wl.gammarelay Temperature q 1500
bind = , 8, submap, reset
bind = , 9, exec, wl-gammarelay-rs & busctl --user set-property rs.wl-gammarelay / rs.wl.gammarelay Temperature q 1250
bind = , 9, submap, reset
bind = , 0, exec, wl-gammarelay-rs & busctl --user set-property rs.wl-gammarelay / rs.wl.gammarelay Temperature q 1000
bind = , 0, submap, reset
bind = , ESCAPE, submap, reset
submap = reset

# applications submap
submap = applications
bind = , a, exec, android-studio
bind = , a, submap, reset
bind = , b, exec, brave --test-type --incognito
bind = , b, submap, reset
bind = , c, exec, qalculate-gtk
bind = , c, submap, reset
bind = , d, exec, /home/muhammad/Disk_D/برامج/Linux/arduino-ide_2.3.2_Linux_64bit.AppImage
bind = , d, submap, reset
bind = , g, exec, gimp
bind = , g, submap, reset
bind = , i, exec, idea
bind = , i, submap, reset
bind = , k, exec, prime-run /home/muhammad/Disk_D/برامج/Linux/kdenlive-24.02.0_A-x86_64.AppImage
bind = , k, submap, reset
bind = , l, exec, flatpak run net.sapples.LiveCaptions
bind = , l, submap, reset
bind = , m, exec, mpv --player-operation-mode=pseudo-gui
bind = , m, submap, reset
bind = , n, exec, kitty --class nvim --hold -e nvim
bind = , n, submap, reset
bind = , p, exec, pomatez
bind = , p, submap, reset
bind = , q, exec, flatpak run io.github._0xzer0x.qurancompanion
bind = , q, submap, reset
bind = , t, exec, telegram-desktop
bind = , t, submap, reset
bind = , u, exec, ~/Scripts/UVR_multi_opener.sh
bind = , u, submap, reset
bind = , v, exec, virt-manager
bind = , v, submap, reset
bind = , w, exec, whatsie
bind = , w, submap, reset
bind = SHIFT , a, exec, ~/Scripts/virt_opener.sh android-x86-9.0
bind = SHIFT , a, submap, reset
bind = SHIFT , b, exec, notify-send -t 5000 "$(acpi)"
bind = SHIFT , b, submap, reset
bind = SHIFT , c, exec, gcolor3
bind = SHIFT , c, submap, reset
bind = SHIFT , m, exec, kitty --class pulsemixer --hold -e pulsemixer
bind = SHIFT , m, submap, reset
bind = SHIFT , n, exec, waypaper
bind = SHIFT , n, submap, reset
bind = SHIFT , s, exec, notify-send "$(~/Scripts/bilal.sh -a)"
bind = SHIFT , s, submap, reset
bind = SHIFT , t, exec, mousepad
bind = SHIFT , t, submap, reset
bind = SHIFT , u, exec, ~/Scripts/virt_opener.sh ubuntu24.04
bind = SHIFT , u, submap, reset
bind = SHIFT , w, exec, ~/Scripts/virt_opener.sh win10
bind = SHIFT , w, submap, reset
bind = , ESCAPE, submap, reset
submap = reset

# scripts submap
submap = scripts
bind = , b, exec, kitty --hold -e nvim ~/.config/polybar/config.ini
bind = , b, submap, reset
bind = , d, exec, kitty --hold -e nvim ~/.config/dk/sxhkdrc
bind = , d, submap, reset
bind = , f, exec, kitty --hold -e nvim ~/.config/newsboat/urls
bind = , f, submap, reset
bind = , h, exec, kitty --hold -e nvim ~/.config/hypr/hyprland.conf
bind = , h, submap, reset
bind = , i, exec, kitty --hold -e nvim ~/.config/i3/config
bind = , i, submap, reset
bind = , k, exec, kitty --hold -e nvim ~/.config/kitty/kitty.conf
bind = , k, submap, reset
bind = , m, exec, kitty --hold -e nvim ~/.config/mpv/mpv.conf
bind = , m, submap, reset
bind = , n, exec, kitty --hold -e nvim ~/.config/nvim/lua/config/lazy.lua
bind = , n, submap, reset
bind = , p, exec, kitty --hold -e nvim ~/.config/picom/picom.conf
bind = , p, submap, reset
bind = , q, exec, kitty --hold -e nvim ~/.config/qutebrowser/config.py
bind = , q, submap, reset
bind = , r, exec, kitty --hold -e nvim ~/.config/ranger/rc.conf
bind = , r, submap, reset
bind = , w, exec, kitty --hold -e nvim ~/.config/waybar/config.jsonc
bind = , w, submap, reset
bind = , z, exec, kitty --hold -e nvim ~/.config/zathura/zathurarc
bind = , z, submap, reset
bind = SHIFT , h, exec, kitty --hold -e nvim ~/.zhistory
bind = SHIFT , h, submap, reset
bind = SHIFT , u, exec, kitty --hold -e nvim ~/Scripts/update_DotFiles_repo.sh
bind = SHIFT , u, submap, reset
bind = SHIFT , z, exec, kitty --hold -e nvim ~/.zshrc
bind = SHIFT , z, submap, reset
bind = , ESCAPE, submap, reset
submap = reset

# executable_scripts submap
submap = executable_scripts
bind = , d, exec, XDG_CONFIG_HOME=$HOME/.config/rofi/wayland ~/Scripts/rofi_todo/todo.sh
bind = , d, submap, reset
bind = , g, exec, ~/Scripts/google_translate.sh
bind = , g, submap, reset
bind = , k, exec, ~/Scripts/app_kill.sh
bind = , k, submap, reset
bind = , m, exec, ~/Scripts/url_to_mpv.sh
bind = , m, submap, reset
bind = , t, exec, ~/Scripts/layout_handler.sh
bind = , t, submap, reset
bind = , u, exec, ~/Scripts/update_DotFiles_repo.sh
bind = , u, submap, reset
bind = , y, exec, kitty --class yt-dlp -e ~/Scripts/yt-dlp_script.sh
bind = , y, submap, reset
bind = , z, exec, XDG_CONFIG_HOME=$HOME/.config/rofi/wayland ~/Scripts/zathura_history.sh
bind = , z, submap, reset
bind = , ESCAPE, submap, reset
submap = reset

# mouse submap
submap = mouse
binde = , h, exec, sudo ydotool mousemove -x -30 -y 0
binde = , j, exec, sudo ydotool mousemove -x 0   -y 30
binde = , k, exec, sudo ydotool mousemove -x 0   -y -30
binde = , l, exec, sudo ydotool mousemove -x 30  -y 0
binde = $mainMod , h, exec, sudo ydotool mousemove -x -5 -y 0
binde = $mainMod , j, exec, sudo ydotool mousemove -x 0  -y 5
binde = $mainMod , k, exec, sudo ydotool mousemove -x 0  -y -5
binde = $mainMod , l, exec, sudo ydotool mousemove -x 5  -y 0

binde = , f, exec, sudo ydotool click 0xC0 # left
binde = , d, exec, sudo ydotool click 0xC2 # middle
binde = , s, exec, sudo ydotool click 0xC1 # right

binde = ALT , k, exec, sudo ydotool mousemove -w -- 0 1  # wheel up
binde = ALT , j, exec, sudo ydotool mousemove -w -- 0 -1 # wheel down

bind = , 1, exec, sudo ydotool mousemove -a -x 0    -y 0
bind = , 2, exec, sudo ydotool mousemove -a -x 1920 -y 0
bind = , 3, exec, sudo ydotool mousemove -a -x 0    -y 1080
bind = , 4, exec, sudo ydotool mousemove -a -x 1920 -y 1080
bind = , 5, exec, sudo ydotool mousemove -a -x 480  -y 270
bind = , 6, exec, sudo ydotool mousemove -a -x 240  -y 135
bind = , 7, exec, sudo ydotool mousemove -a -x 710 -y 135
bind = , 8, exec, sudo ydotool mousemove -a -x 240  -y 405
bind = , 9, exec, sudo ydotool mousemove -a -x 710 -y 405

bind = $mainMod , m, submap, reset
submap = reset

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

Description

hyprpm fails to update

~ ❮ hyprpm -s -v update
[v] version returned: Hyprland, built from branch main at commit cc7c117fe76ff0a4da56b18026c725501de92c84  (output: minor tearing fixes).
Date: Tue Jul 30 15:50:14 2024
Tag: v0.41.2-141-gcc7c117f, commits: 5027

flags: (if any)


[v] parsed commit cc7c117fe76ff0a4da56b18026c725501de92c84 at branch main on Tue Jul 30 15:50:14 2024, commits 5027

! Cloning https://github.com/hyprwm/hyprland, this might take a moment.                                                                                                                                           
✔ cloned                                                                                                                                                                                                          
[v] will run: cd /tmp/hyprpm/hyprland-muhammad && git checkout cc7c117fe76ff0a4da56b18026c725501de92c84 2>&1                                                                                                      
[v] git returned (co): Note: switching to 'cc7c117fe76ff0a4da56b18026c725501de92c84'.                                                                                                                             

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at cc7c117f output: minor tearing fixes

[v] git returned (rs): rm 'subprojects/tracy'                                                                                                                                                                     
HEAD is now at cc7c117f output: minor tearing fixes

✔ checked out to running ver                                                                                                                                                                                      
! configuring Hyprland                                                                                                                                                                                            
[v] setting PREFIX for cmake to /home/muhammad/.local/share/hyprpm/headersRoot                                                                                                                                    
[v] cmake returned: CMake Warning (dev) at /usr/share/cmake/Modules/GNUInstallDirs.cmake:253 (message):                                                                                                           
  Unable to determine default CMAKE_INSTALL_LIBDIR directory because no
  target architecture is known.  Please enable at least one language before
  including GNUInstallDirs.
Call Stack (most recent call first):
  CMakeLists.txt:4 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.
Not searching for unused variables given on the command line.

CMake Error: CMake was unable to find a build program corresponding to "Ninja".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!

✔ configured Hyprland                                                                                                                                                                                             
[v] installation will run: sed -i -e "s#PREFIX = /usr/local#PREFIX = /home/muhammad/.local/share/hyprpm/headersRoot#" /tmp/hyprpm/hyprland-muhammad/Makefile && cd /tmp/hyprpm/hyprland-muhammad && make installheaders
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━  4 / 5  Installing sources[v] installer returned: -en You need to run make all first.                                                                         

make: *** [Makefile:46: installheaders] Error 1

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

✖ Headers version mismatch. Please run hyprpm update to fix those.

How to reproduce

hyprpm -s -v update

Crash reports, logs, images, videos

No response

@Muhammad95959 Muhammad95959 added the bug Something isn't working label Jul 30, 2024
@Muhammad95959 Muhammad95959 changed the title hyprpm failed to install headers with error code 4 (Headers version mismatched) hyprpm failed to install headers with error code 4 Jul 30, 2024
@vaxerski
Copy link
Member

#6909

@vaxerski vaxerski closed this as not planned Won't fix, can't repro, duplicate, stale Jul 30, 2024
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