Comments (6)
Hi Kerberoge,
The Shift modifier tends to modify what you have to put in the keycode field as well. Try using the command xkbcli interactive-wayland
to see exactly what is being sent when you press your desired key combination.
from dwl.
Ive also wondered about this, running xkbcli interactive-wayland
doesnt say anything is modified. Ive also tried doing with other Modifiers, like ctrl or logo or modkey but they all dont seem to work, let me know if should provide any further detail.
from dwl.
Hm, I get this while pressing shift+XF86MonBrightnessDown:
seat0: keycode [ LFSH ] keysyms [ Shift_L ] unicode [ ] layout [ Spanish (Latin American) (0) ] level [ 0 ] mods [ Mod2 ] leds [ Num Lock ]
seat0: keycode [ FK02 ] keysyms [ F2 ] unicode [ ] layout [ Spanish (Latin American) (0) ] level [ 1 ] mods [ Shift Mod2 ] leds [ Num Lock ]
@Hiqqup, can you paste the output you get from it?
from dwl.
@sevz17 It seems that you have fn-lock disabled. Could you please try enabling fn-lock and running xkbcli interactive-wayland
again?
from dwl.
Here's the output of xkbcli interactive-wayland
:
seat0: keycode [ LFSH ] keysyms [ Shift_L ] unicode [ ] layout [ English (US) (0) ] level [ 0 ] mods [ ] leds [ ]
seat0: keycode [ I233 ] keysyms [ XF86MonBrightne ] unicode [ ] layout [ English (US) (0) ] level [ 0 ] mods [ ] leds [ ]
seat0: keycode [ I232 ] keysyms [ XF86MonBrightne ] unicode [ ] layout [ English (US) (0) ] level [ 0 ] mods [ ] leds [ ]
from dwl.
sorry for the inactivity, so i get the same xkbcli interactive-wayland
output as you:
[main !]~/projects/wayland/dwl xkbcli interactive-wayland
seat0: keycode [ LFSH ] keysyms [ Shift_L ] unicode [ ] layout [ English (US) (0) ] level [ 0 ] mods [ ] leds [ ]
seat0: keycode [ I232 ] keysyms [ XF86MonBrightne ] unicode [ ] layout [ English (US) (0) ] level [ 0 ] mods [ ] leds [ ]
but only when i comment out my configuration for those keys in my config.h:
static const Key keys[] = {
{ 0, XKB_KEY_XF86MonBrightnessDown, spawn, { .v = darker } },
{ WLR_MODIFIER_SHIFT, XKB_KEY_XF86MonBrightnessDown, spawn, { .v = darkest } }
}
otherwise i get no output from xkbcli interactive-wayland
because its intercepted by dwl. Idk maybe there is something i am not getting right about the config but the second keybinde for darkest
doesnt apply.
from dwl.
Related Issues (20)
- Some applications with minimum value restrictions refuse to resize the window size, resulting in layout chaos. HOT 5
- The Obs-studio mouse cursor is not visible in the wlroo-next branch It is visible in the main branch HOT 11
- discussion: migrate to codeberg HOT 7
- DWL not launching as GDM session HOT 5
- OpenBSD support discussion HOT 2
- Dwl HOT 2
- Confusion about the Floating Rules HOT 4
- tile layout is completely broken on monitor with at least one negative coord
- Migration to Codeberg
- Nvidia HOT 4
- Doesn't get the right resolution HOT 5
- context menu being cut off HOT 27
- GTK top bars are being cut off HOT 4
- Invisible cursor using Intel graphics card HOT 3
- Run or Raise HOT 3
- libwlroots.so.11: cannot open shared object file: No such file or directory HOT 2
- wlroots-next branch not build becuse of too few arguments to function ‘wlr_output_layout_create’ HOT 1
- Could not build dwl on Fedora 39 HOT 2
- Compiling on pop os HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dwl.