mirror of
https://codeberg.org/dwl/dwl-patches.git
synced 2025-09-11 05:34:55 +00:00
remove lockedkeys from stale folder
re export lockedkeys with `git format-path`
This commit is contained in:
parent
2db3a19ce6
commit
3b62b90b90
@ -1,21 +0,0 @@
|
||||
### Description
|
||||
This patch allows you to add keybindings to the lockscreen.
|
||||
|
||||
```c
|
||||
static const Key lockedkeys[] = {
|
||||
/* Note that Shift changes certain key codes: c -> C, 2 -> at, etc. */
|
||||
/* modifier key function argument */
|
||||
|
||||
/* Ctrl-Alt-Backspace and Ctrl-Alt-Fx used to be handled by X server */
|
||||
{ WLR_MODIFIER_CTRL|WLR_MODIFIER_ALT,XKB_KEY_Terminate_Server, quit, {0} },
|
||||
#define CHVT(n) { WLR_MODIFIER_CTRL|WLR_MODIFIER_ALT,XKB_KEY_XF86Switch_VT_##n, chvt, {.ui = (n)} }
|
||||
CHVT(1), CHVT(2), CHVT(3), CHVT(4), CHVT(5), CHVT(6),
|
||||
CHVT(7), CHVT(8), CHVT(9), CHVT(10), CHVT(11), CHVT(12),
|
||||
};
|
||||
```
|
||||
|
||||
### Download
|
||||
- [2023-11-24](https://github.com/djpohly/dwl/compare/main...wochap:lockedkeys.patch)
|
||||
|
||||
### Authors
|
||||
- [wochap](https://github.com/wochap)
|
@ -1,3 +1,13 @@
|
||||
From d3aca31e6fd1838bf95483d362db233ef8eebdb2 Mon Sep 17 00:00:00 2001
|
||||
From: wochap <gean.marroquin@gmail.com>
|
||||
Date: Wed, 6 Mar 2024 07:46:41 -0500
|
||||
Subject: [PATCH] allow to add keybindings in locked mode
|
||||
|
||||
---
|
||||
config.def.h | 11 +++++++++++
|
||||
dwl.c | 20 ++++++++++++++++++++
|
||||
2 files changed, 31 insertions(+)
|
||||
|
||||
diff --git a/config.def.h b/config.def.h
|
||||
index db0babc..50c446d 100644
|
||||
--- a/config.def.h
|
||||
@ -65,4 +75,6 @@ index ef27a1d..ff17d07 100644
|
||||
if (handled && kb->wlr_keyboard->repeat_info.delay > 0) {
|
||||
kb->mods = mods;
|
||||
kb->keysyms = syms;
|
||||
--
|
||||
2.42.0
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user