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
21.89k stars 911 forks source link

`bind = CONTROL SHIFT, minus, sendshortcut, CONTROL, Z,` not working on chrome, firefox... #8550

Open Rational-Curiosity opened 5 days ago

Rational-Curiosity commented 5 days ago

Already reported ? *

Regression?

No

System Info and Version

System/Version info ```sh Hyprland 0.45.0 built from branch main at commit 745a82ce8ab19d958e344f5925bb1dc8ea7d6a53 (index 0e0c75a1..3fe5acec 100644). Date: Fri Nov 22 17:01:02 2024 Tag: v0.45.0-55-g745a82ce, commits: 5488 built against aquamarine 0.5.0 flags set: debug System Information: System name: Linux Node name: OOOOOO Release: 6.11.0-9-generic Version: #9-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 14 13:19:59 UTC 2024 GPU information: 00:02.0 VGA compatible controller [0300]: Intel Corporation Alder Lake-UP3 GT2 [Iris Xe Graphics] [8086:46a8] (rev 0c) (prog-if 00 [VGA controller]) os-release: PRETTY_NAME="Ubuntu 24.10" NAME="Ubuntu" VERSION_ID="24.10" VERSION="24.10 (Oracular Oriole)" VERSION_CODENAME=oracular ID=ubuntu ID_LIKE=debian HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" UBUNTU_CODENAME=oracular LOGO=ubuntu-logo plugins: ======Config-Start====== Config File: /home/edo/.config/hypr/hyprland.conf: Read Succeeded # ####################################################################################### # AUTOGENERATED HYPR CONFIG. # PLEASE USE THE CONFIG PROVIDED IN THE GIT REPO /examples/hypr.conf AND EDIT IT, # OR EDIT THIS ONE ACCORDING TO THE WIKI INSTRUCTIONS. # ####################################################################################### # This is an example Hyprland config file. # Refer to the wiki for more information. # https://wiki.hyprland.org/Configuring/ # Please note not all available settings / options are set here. # For a full list, see the wiki # You can split this configuration into multiple files # Create your files separately and then link them to this file like this: # source = ~/.config/hypr/myColors.conf ################ ### MONITORS ### ################ # See https://wiki.hyprland.org/Configuring/Monitors/ monitor=,preferred,auto,1 monitor=,preferred,$HYPR_MONITOR,1 ################### ### MY PROGRAMS ### ################### # See https://wiki.hyprland.org/Configuring/Keywords/ # Set programs that you use $terminal = alacritty $fileManager = thunar $menu = wofi --insensitive --matching=multi-contains --show run ################# ### AUTOSTART ### ################# # Autostart necessary processes (like notifications daemons, status bars, etc.) # Or execute your favorite apps at launch like this: exec-once = hyprpaper & exec-once = hypridle & exec-once = waybar & exec-once = nm-applet & exec-once = copyq & exec-once = unsplash-hypr ############################# ### ENVIRONMENT VARIABLES ### ############################# # See https://wiki.hyprland.org/Configuring/Environment-variables/ env = XCURSOR_SIZE,24 env = HYPRCURSOR_SIZE,24 ##################### ### LOOK AND FEEL ### ##################### # Refer to https://wiki.hyprland.org/Configuring/Variables/ # https://wiki.hyprland.org/Configuring/Variables/#general general { gaps_in = 3 gaps_out = 5 border_size = 2 # https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg col.inactive_border = rgba(595959aa) # Set to true enable resizing windows by clicking and dragging on borders and gaps resize_on_border = false # Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on allow_tearing = false layout = master } # https://wiki.hyprland.org/Configuring/Variables/#decoration decoration { rounding = 10 # Change transparency of focused and unfocused windows active_opacity = 0.9 inactive_opacity = 0.8 shadow { enabled = true range = 4 render_power = 3 color = rgba(1a1a1aee) } # https://wiki.hyprland.org/Configuring/Variables/#blur blur { enabled = true size = 3 passes = 1 vibrancy = 0.1696 } } # https://wiki.hyprland.org/Configuring/Variables/#animations animations { enabled = yes, please :) # Default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more bezier = easeOutQuint,0.23,1,0.32,1 bezier = easeInOutCubic,0.65,0.05,0.36,1 bezier = linear,0,0,1,1 bezier = almostLinear,0.5,0.5,0.75,1.0 bezier = quick,0.15,0,0.1,1 animation = global, 1, 10, default animation = border, 1, 5.39, easeOutQuint animation = windows, 1, 4.79, easeOutQuint animation = windowsIn, 1, 4.1, easeOutQuint, popin 87% animation = windowsOut, 1, 1.49, linear, popin 87% animation = fadeIn, 1, 1.73, almostLinear animation = fadeOut, 1, 1.46, almostLinear animation = fade, 1, 3.03, quick animation = layers, 1, 3.81, easeOutQuint animation = layersIn, 1, 4, easeOutQuint, fade animation = layersOut, 1, 1.5, linear, fade animation = fadeLayersIn, 1, 1.79, almostLinear animation = fadeLayersOut, 1, 1.39, almostLinear animation = workspaces, 1, 1.94, almostLinear, fade animation = workspacesIn, 1, 1.21, almostLinear, fade animation = workspacesOut, 1, 1.94, almostLinear, fade } # Ref https://wiki.hyprland.org/Configuring/Workspace-Rules/ # "Smart gaps" / "No gaps when only" # uncomment all if you wish to use that. # workspace = w[t1], gapsout:0, gapsin:0 # workspace = w[tg1], gapsout:0, gapsin:0 # workspace = f[1], gapsout:0, gapsin:0 # windowrulev2 = bordersize 0, floating:0, onworkspace:w[t1] # windowrulev2 = rounding 0, floating:0, onworkspace:w[t1] # windowrulev2 = bordersize 0, floating:0, onworkspace:w[tg1] # windowrulev2 = rounding 0, floating:0, onworkspace:w[tg1] # windowrulev2 = bordersize 0, floating:0, onworkspace:f[1] # windowrulev2 = rounding 0, floating:0, onworkspace:f[1] # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more dwindle { pseudotile = true # Master switch for pseudotiling. Enabling is bound to Mod + P in the keybinds section below preserve_split = true # You probably want this } # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more master { new_status = master mfact = 0.55 } # https://wiki.hyprland.org/Configuring/Variables/#misc misc { force_default_wallpaper = 0 # Set to 0 or 1 to disable the anime mascot wallpapers disable_hyprland_logo = false # If true disables the random hyprland logo / anime girl background. :( disable_splash_rendering = true mouse_move_enables_dpms = true key_press_enables_dpms = false middle_click_paste = true } ############# ### INPUT ### ############# # https://wiki.hyprland.org/Configuring/Variables/#input ## Calibur V2 keyboard fn key # 1. edit or create: /etc/modprobe.d/hid_apple.conf # 2. append line: options hid_apple fnmode=0 # 3. shell command: sudo update-initramfs -u -k all # 4. reboot. ## swap alt gr and ctrl # edit: /usr/share/X11/xkb/symbols/ctrl # partial modifier_keys # xkb_symbols "swap_ralt_rctl" { # replace key { [ Control_L ] }; # replace key { [ ISO_Level3_Shift ] }; # replace key { [ ISO_Level3_Shift ] }; # }; input { kb_layout = es kb_variant = kb_model = kb_options = ctrl:swap_ralt_rctl kb_rules = follow_mouse = 1 sensitivity = 0 # -1.0 - 1.0, 0 means no modification. touchpad { natural_scroll = false } } # https://wiki.hyprland.org/Configuring/Variables/#gestures gestures { workspace_swipe = false } # Example per-device config # See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more device { name = epic-mouse-v1 sensitivity = -0.5 } ################### ### KEYBINDINGS ### ################### # See https://wiki.hyprland.org/Configuring/Keywords/ $Mod = SUPER # Sets "Windows" key as main modifier # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more bind = $Mod, return, exec, alacritty msg create-window || alacritty bind = $Mod CONTROL, return, exec, [float; size 90% 90%] alacritty bind = $Mod SHIFT, Q, killactive, bind = $Mod SHIFT, escape, exit, bind = $Mod, E, exec, $fileManager bind = $Mod, I, exec, emacsclient -c -n -a '' & bind = $Mod, Y, exec, copyq toggle bind = $Mod, space, togglefloating, bind = $Mod, F, fullscreen, bind = $Mod, R, exec, $menu bind = $Mod CONTROL, R, exec, wofi-commands bind = $Mod SHIFT, B, exec, unsplash-hypr # bind = $Mod, P, pseudo, # dwindle # bind = $Mod, J, togglesplit, # dwindle bind = $Mod, print, exec, grim -g "$(slurp)" "$HOME/Pictures/screenshot_$(date +%Y-%m-%d_%H.%M.%S).png" bind = $Mod, escape, exec, killall -SIGUSR1 waybar bind = $Mod ALT, T, tagwindow, opaque bind = $Mod, pause, exec, hyprlock bindr = $Mod, end, dpms, toggle binde = $Mod, plus, resizeactive, 10 0 binde = $Mod, minus, resizeactive, -10 0 binde = $Mod SHIFT, plus, resizeactive, 0 10 binde = $Mod SHIFT, minus, resizeactive, 0 -10 # Move focus with Mod + arrow keys binde = $Mod, H, movefocus, l binde = $Mod, L, movefocus, r binde = $Mod, K, movefocus, u binde = $Mod, J, movefocus, d # Move window with Mod + arrow keys binde = $Mod SHIFT, H, movewindow, l binde = $Mod SHIFT, L, movewindow, r binde = $Mod SHIFT, K, movewindow, u binde = $Mod SHIFT, J, movewindow, d # Swap window with Mod + arrow keys binde = $Mod ALT, H, swapwindow, l binde = $Mod ALT, L, swapwindow, r binde = $Mod ALT, K, swapwindow, u binde = $Mod ALT, J, swapwindow, 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 # Example special workspace (scratchpad) bind = $Mod, S, togglespecialworkspace, magic bind = $Mod SHIFT, S, movetoworkspace, special:magic # Scroll through existing workspaces with Mod + scroll bind = $Mod, mouse_down, workspace, e+1 bind = $Mod, mouse_up, workspace, e-1 # Move/resize windows with Mod + LMB/RMB and dragging bindm = $Mod, mouse:272, movewindow bindm = $Mod, mouse:273, resizewindow # Laptop multimedia keys for volume and LCD brightness #bindel = , XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+ #bindel = , XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- bindel = $Mod, prior, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+ bindel = $Mod, next, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- bindel = $Mod SHIFT, prior, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 10%+ bindel = $Mod SHIFT, next, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 10%- bindel = $Mod CONTROL, prior, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 1%+ bindel = $Mod CONTROL, next, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 1%- bindel = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle bindel = , XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle bindel = , XF86MonBrightnessUp, exec, brightnessctl s 10%+ bindel = , XF86MonBrightnessDown, exec, brightnessctl s 10%- bindel = , caps_lock, exec, hyprcapslock 2 "rgba(33ccffee) rgba(00ff99ee) 45deg" 4 "rgb(ff0000)" # Requires playerctl bindl = , XF86AudioNext, exec, playerctl next bindl = , XF86AudioPause, exec, playerctl play-pause bindl = , XF86AudioPlay, exec, playerctl play-pause bindl = , XF86AudioPrev, exec, playerctl previous # Master layout bind = $Mod, M, layoutmsg, focusmaster bind = $Mod SHIFT, M, layoutmsg, swapwithmaster bind = $Mod ALT, M, layoutmsg, mfact exact 0.5 bind = $Mod ALT, comma, layoutmsg, mfact -0.025 bind = $Mod ALT, period, layoutmsg, mfact +0.025 bind = $Mod, N, layoutmsg, cyclenext bind = $Mod, P, layoutmsg, cycleprev bind = $Mod SHIFT, N, layoutmsg, swapnext bind = $Mod SHIFT, P, layoutmsg, swapprev bind = $Mod ALT, N, layoutmsg, orientationnext bind = $Mod ALT, P, layoutmsg, orientationprev # Submaps bind = $Mod, Q, submap, edit submap = edit bind = ALT, B, sendshortcut, CONTROL, left, bind = ALT, D, sendshortcut, CONTROL, delete, bind = ALT, F, sendshortcut, CONTROL, right, bind = ALT, V, sendshortcut, , prior, bind = CONTROL, A, sendshortcut, , home, bind = CONTROL, B, sendshortcut, , left, bind = CONTROL, D, sendshortcut, , delete, bind = CONTROL, E, sendshortcut, , end, bind = CONTROL, F, sendshortcut, , right, bind = CONTROL, K, sendshortcut, SHIFT, end, bind = CONTROL, K, sendshortcut, , delete, bind = CONTROL, N, sendshortcut, , down, bind = CONTROL, P, sendshortcut, , up, bind = CONTROL, U, sendshortcut, SHIFT, home, bind = CONTROL, U, sendshortcut, , delete, bind = CONTROL, V, sendshortcut, , next, bind = CONTROL SHIFT, minus, sendshortcut, CONTROL, Z, bind = $Mod, Q, submap, reset bind = , escape, submap, reset submap = reset ############################## ### WINDOWS AND WORKSPACES ### ############################## # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more # See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules # Example windowrule v1 # windowrule = float, ^(kitty)$ # Example windowrule v2 # windowrulev2 = float,class:^(kitty)$,title:^(kitty)$ # Ignore maximize requests from apps. You'll probably like this. windowrulev2 = suppressevent maximize, class:.* # Fix some dragging issues with XWayland windowrulev2 = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0 # Floating windows windowrulev2 = float,class:^(com.github.hluk.copyq)$ # Opacity windowrulev2 = opacity 0.8 override,class:^(com.github.hluk.copyq)$ windowrulev2 = opacity 1.0 override, class:^(vlc|Alacritty|Emacs)$ windowrulev2 = opacity 1.0 override, tag:opaque # Plugins plugin { easymotion { #font size of the text textsize=15 #color of the text, takes standard hyprland color format textcolor=rgba(ffffffff) #background color of the label box. alpha is respected bgcolor=rgba(000000ff) #font to use for the label. This is passed directly to the pango font description textfont=Sans #padding around the text (inside the label box) size in pixels, adjusted for #monitor scaling. This is the same format as hyprland's gapsin/gapsout workspace layout rule #example: textpadding=2 5 5 2 (spaces not commas) textpadding=0 #size of the border around the label box. A border size of zero disables border rendering. bordersize=0 #color of the border. takes the same format as hyprland's border (so it can be a gradient) bordercolor=rgba(ffffffff) #rounded corners? Same as hyprland's 'decoration:rounding' config rounding=0 #which keys to use for labeling windows motionkeys=abcdefghijklmnopqrstuvwxyz1234567890 } } ======Config-End======== ```

Description

bind = CONTROL SHIFT, minus, sendshortcut, CONTROL, Z, captures CONTROL SHIFT, minus press but do nothing. CONTROL Z undo last change on Chrome and Firefox but pressing CONTROL SHIFT minus do nothing.

How to reproduce

with bind = CONTROL SHIFT, minus, sendshortcut, CONTROL, Z, activated press CONTROL SHIFT minus

Crash reports, logs, images, videos

No response

vaxerski commented 4 days ago

have you tried removing the last comma?

Rational-Curiosity commented 4 days ago

Yes, I tried

Rational-Curiosity commented 2 days ago

Order matters, swapping control and shift works: bind = SHIFT CONTROL, minus, sendshortcut, CONTROL, Z,