Add a bemenu control mode to access bemenu control with buttons
Signed-off-by: Stacy Harper <contact@stacyharper.net> Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
This commit is contained in:
parent
d430cce8ff
commit
f86cc46d03
6 changed files with 77 additions and 2 deletions
22
configs/sway/xkb_mobile_movement_buttons
Normal file
22
configs/sway/xkb_mobile_movement_buttons
Normal file
|
@ -0,0 +1,22 @@
|
|||
xkb_keymap {
|
||||
xkb_keycodes "(unnamed)" {
|
||||
minimum = 122;
|
||||
maximum = 124;
|
||||
<VOL-> = 122;
|
||||
<VOL+> = 123;
|
||||
<POWR> = 124;
|
||||
alias <I122> = <VOL->;
|
||||
alias <I123> = <VOL+>;
|
||||
alias <I124> = <POWR>;
|
||||
};
|
||||
xkb_types "(unnamed)" {
|
||||
};
|
||||
xkb_compatibility "(unnamed)" {
|
||||
};
|
||||
xkb_symbols "(unnamed)" {
|
||||
name[group1]="Mobile Convenient Buttons";
|
||||
key <VOL-> { [ Down ] };
|
||||
key <VOL+> { [ Up ] };
|
||||
key <POWR> { [ Return ] };
|
||||
};
|
||||
};
|
22
configs/sway/xkb_mobile_normal_buttons
Normal file
22
configs/sway/xkb_mobile_normal_buttons
Normal file
|
@ -0,0 +1,22 @@
|
|||
xkb_keymap {
|
||||
xkb_keycodes "(unnamed)" {
|
||||
minimum = 122;
|
||||
maximum = 124;
|
||||
<VOL-> = 122;
|
||||
<VOL+> = 123;
|
||||
<POWR> = 124;
|
||||
alias <I122> = <VOL->;
|
||||
alias <I123> = <VOL+>;
|
||||
alias <I124> = <POWR>;
|
||||
};
|
||||
xkb_types "(unnamed)" {
|
||||
};
|
||||
xkb_compatibility "(unnamed)" {
|
||||
};
|
||||
xkb_symbols "(unnamed)" {
|
||||
name[group1]="Mobile Convenient Buttons";
|
||||
key <VOL-> { [ XF86AudioLowerVolume ] };
|
||||
key <VOL+> { [ XF86AudioRaiseVolume ] };
|
||||
key <POWR> { [ XF86PowerOff ] };
|
||||
};
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue