binds with mainMod + Shift + some number (0-9) dont work since 0.43.0
Already reported ? *
- [X] I have searched the existing open and closed issues.
Regression?
Yes
System Info and Version
System/Version info
Hyprland, built from branch at commit 0f594732b063a90d44df8c5d402d658f27471dfe (props: bump version to 0.43.0).
Date: Sun Sep 8 16:48:21 2024
Tag: v0.43.0, commits: 5196
flags: (if any)
System Information:
System name: Linux
Node name: t480BTW
Release: 6.10.9-arch1-2
Version: #1 SMP PREEMPT_DYNAMIC Tue, 10 Sep 2024 14:37:32 +0000
GPU information:
00:02.0 VGA compatible controller [0300]: Intel Corporation UHD Graphics 620 [8086:5917] (rev 07) (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/tim/.config/hypr/hyprland.conf: Read Succeeded
# See https://wiki.hyprland.org/Configuring/Monitors/
monitor = eDP-1, preferred, 0x0, 1 # main laptop display
monitor = desc:Microstep Optix MAG24C 0000000000001, preferred, 1920x0, 1
monitor = desc:Dell Inc. DELL U2412M 0FFXD33I1C7L, preferred, 3840x0, 1
monitor = , preferred, auto, 1, mirror, eDP-1 # if quickly plugging in monitor
# startup script
source = ~/.config/hypr/startup.conf
# Some default env vars.
env = GDK_BACKEND,wayland,x11,*
env = QT_QPA_PLATFORM,wayland;xcb
env = SDL_VIDEODRIVER,wayland
env = CLUTTER_BACKEND,wayland
env = XDG_CURRENT_DESKTOP,Hyprland
env = XDG_SESSION_TYPE,wayland
env = XDG_SESSION_DESKTOP,Hyprland
env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1 # Disables window decorations on Qt applications
env = QT_QPA_PLATFORMTHEME,qt6ct
#env = XCURSOR_THEME, # nothing set jet
env = XCURSOR_SIZE,24
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
input {
kb_layout = de, eu
resolve_binds_by_sym = true # keybinds respect layouts https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs
accel_profile = flat
}
# per-device config
# See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more
$LAPTOP_KB_ENABLED = true
device {
name = at-translated-set-2-keyboard # laptop keyboard
enabled = $LAPTOP_KB_ENABLED
kb_options = caps:swapescape
}
$LAPTOP_TP_ENABLED = true
device {
name = tpps/2-ibm-trackpoint # trackpoint + buttons above touchpad
enabled = $LAPTOP_TP_ENABLED
}
device {
name = synaptics-tm3276-022 # touchpad
enabled = $LAPTOP_TP_ENABLED
}
device {
name = keebio-iris-rev.-8
kb_layout = eu
}
device {
name = keebio-iris-rev.-8-system-control
kb_layout = eu
}
device {
name = keebio-iris-rev.-8-consumer-control
kb_layout = eu
}
general {
border_size = 2
gaps_in = 4
gaps_out = 8
col.inactive_border = rgb(1d2021)
col.active_border= rgb(a9b665)
#col.active_border = rgb(ea6962) rgb(e78a4e) rgb(d8a657) rgb(a9b665) rgb(89b482) rgb(7daea3) rgb(d3869b) 0deg
layout = dwindle
resize_on_border = true
extend_border_grab_area = 0
}
decoration {
rounding = 4
drop_shadow = true
shadow_range = 4
shadow_render_power = 1
col.shadow = rgb(1d2021)
# col.shadow_inactive = rgb(d3869b) # if not set, will fall back to col.shadow
blur { # is applyed to every transparent element
enabled = true
size = 4
passes = 4
ignore_opacity = true
}
}
animations {
enabled = true
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
animation = windows, 1, 4, default
animation = windowsOut, 1, 4, default, popin 80%
animation = layers, 1, 4, default, popin 80%
animation = fade, 1, 4, default
animation = border, 1, 16, default
animation = borderangle, 0, 8, default
animation = workspaces, 1, 4, default, fade
}
dwindle {
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
force_split = 2 # 0 -> split follows mouse, 1 -> split to the left or top 2 -> split to the right or bottom
preserve_split = true # makes veritical/horizontal and splits possible
no_gaps_when_only = 0
}
misc {
disable_hyprland_logo = true
disable_splash_rendering = true
font_family = FiraCode Nerd Font
mouse_move_enables_dpms = false
key_press_enables_dpms = true
}
binds {
movefocus_cycles_fullscreen = false
}
# 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 = float, title:imv.*pin\.png # needed fo my pinshot.sh script
windowrulev2 = float, title:Picture-in-Picture
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
$mainMod = SUPER
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = $mainMod, grave, exec, pactl set-source-mute @DEFAULT_SOURCE@ toggle
bind = $mainMod, semicolon, exec, /home/tim/dotfiles/scripts/rofi/scripts.sh
bind = $mainMod, space, exec, /home/tim/dotfiles/scripts/rofi/scripts.sh
bind = $mainMod, V, exec, cliphist list | rofi -dmenu | cliphist decode | wl-copy
bind = $mainMod, P, exec, grimshot savecopy anything
bind = $mainMod, O, exec, ~/dotfiles/scripts/pinshot.sh
bind = $mainMod, F, fullscreen, 1
bind = $mainMod SHIFT, F, fullscreen,
bind = $mainMod CTRL, F, fullscreenstate,
bind = $mainMod, Return, exec, kitty
bind = $mainMod, Q, killactive,
bind = $mainMod, C, togglefloating,
bind = $mainMod, M, exit,
bind = $mainMod, R, exec, rofi -show drun
bind = $mainMod, U, pseudo, # dwindle
bind = $mainMod, I, togglesplit, # dwindle
# Move focus
bind = $mainMod, H, movefocus, l
bind = $mainMod, l, movefocus, r
bind = $mainMod, k, movefocus, u
bind = $mainMod, j, movefocus, d
# Move winow
bind = $mainMod SHIFT CTRL, H, moveactive, -100 0
bind = $mainMod SHIFT CTRL, J, moveactive, 0 100
bind = $mainMod SHIFT CTRL, K, moveactive, 0 -100
bind = $mainMod SHIFT CTRL, L, moveactive, 100 0
bind = $mainMod SHIFT, H, movewindow, l
bind = $mainMod SHIFT, J, movewindow, d
bind = $mainMod SHIFT, K, movewindow, u
bind = $mainMod SHIFT, L, movewindow, r
# Resize winow
bind = $mainMod CTRL, H, resizeactive, -100 0
bind = $mainMod CTRL, J, resizeactive, 0 100
bind = $mainMod CTRL, K, resizeactive, 0 -100
bind = $mainMod CTRL, L, resizeactive, 100 0
# Switch workspaces with mainMod + [0-9]
bind = $mainMod, 1, focusWorkspaceOnCurrentMonitor, 1
bind = $mainMod, 2, focusWorkspaceOnCurrentMonitor, 2
bind = $mainMod, 3, focusWorkspaceOnCurrentMonitor, 3
bind = $mainMod, 4, focusWorkspaceOnCurrentMonitor, 4
bind = $mainMod, 5, focusWorkspaceOnCurrentMonitor, 5
bind = $mainMod, 6, focusWorkspaceOnCurrentMonitor, 6
bind = $mainMod, 7, focusWorkspaceOnCurrentMonitor, 7
bind = $mainMod, 8, focusWorkspaceOnCurrentMonitor, 8
bind = $mainMod, 9, focusWorkspaceOnCurrentMonitor, 9
bind = $mainMod, 0, focusWorkspaceOnCurrentMonitor, 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
# Example special workspace (scratchpad)
bind = $mainMod, S, togglespecialworkspace, magic
bind = $mainMod SHIFT, S, movetoworkspace, special:magic
# 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
bind = , switch:on:Lid Switch, exec, hyprctl keyword monitor "eDP-1, disable"
bind = , switch:off:Lid Switch, exec, hyprctl keyword monitor "eDP-1, preferred, 0x0, 1" & brightnessctl set 50%
Config File: /home/tim/.config/hypr/startup.conf: Read Succeeded
# hyprpaper (wallpaper)
exec-once = hyprpaper
# hypridle
exec-once = hypridle
# enable cliphist
exec-once = wl-paste --type text --watch cliphist store #Stores only text data
exec-once = wl-paste --type image --watch cliphist store #Stores only image data
# enable authentication Agent
exec-once = /usr/lib/polkit-kde-authentication-agent-1
# enable swaync
exec-once = swaync
# start waybar
exec-once = waybar
======Config-End========
Description
Since version 0.43 I cant use binds with mainMod SHIFT and keys with numbers from numberrow. mainMod CTRL with those numberrow keys work and mainMod SHIFT with some other Keys seem to work too I followed the bisecting instructions and fd8d8e122ed9cf49f3f84d4d264f1b810c355a07 is the first bad commit (keybinds: fixup misused kb state)
How to reproduce
example bind thats not working for me: bind = $mainMod SHIFT, 1, movetoworkspacesilent, 1
Crash reports, logs, images, videos
No response
yeeaah I assume it's resolve_binds_by_sym
Is there any update on this issue?
patch.txt try this patch
@vaxerski how would I try this patch? There is no branch I can checkout, right?
main and patch -p1 < path then compile and run
I will test that tomorrow and report back
@vaxerski I just tested your patch, and it resolved the Problem for me.
top