hyprctl --batch reload active layout #9936
Unanswered
aphelei
asked this question in
Bugs - Input
Replies: 2 comments
-
|
is that a problem? |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Only for edge cases. I remember setting a keybind that sets another keybind and if the layout reloads, the keystates is resetted and you need to release the meta/super key and repress it to use a new keybind I stopped using --batch and it works but idk its still a strange thing, can be closed if you don't care |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Copy of #8556
2025-04-06_20-04-1743965829.mp4
tldr:
hyprctl --batch "keyword bind META CTRL, N, exec, ~/test.sh"reloads active layout
ipc output
activelayout>>power-button,Belgian activelayout>>video-bus,Belgian activelayout>>power-button-1,Belgian activelayout>>ideapad-extra-buttons,Belgian activelayout>>at-translated-set-2-keyboard,Belgian activelayout>>steelseries-steelseries-rival-310-esports-mouse-keyboard,BelgianI noticed that it happens only when / is in the command
it happens even with an invalid request :
hyprctl --batch keyword bind /ipc
`#!/bin/sh
handle() {
echo $1
}
socat -U - UNIX-CONNECT:$XDG_RUNTIME_DIR/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock | while read -r line; do handle "$line" ; done &
disown
`
Beta Was this translation helpful? Give feedback.
All reactions