xwayland + ipc + accessnthmon + desktop mod
This commit is contained in:
parent
1bfd2e92e8
commit
c643413742
4 changed files with 233 additions and 39 deletions
7
config.h
7
config.h
|
|
@ -123,15 +123,17 @@ static const enum libinput_config_tap_button_map button_map = LIBINPUT_CONFIG_TA
|
|||
|
||||
/* commands */
|
||||
static const char *termcmd[] = { "foot", "-f", "BlexMono Nerd Font:size=16", "fish", NULL };
|
||||
static const char *menucmd[] = { "wmenu-run", NULL };
|
||||
static const char *menucmd[] = { "wmenu-run", "-f", "BlexMono Nerd Font 16", "-b", NULL };
|
||||
static const char *lockcmd[] = { "swaylock", NULL };
|
||||
static const char *screencmd[] = {"screenshot.sh", NULL };
|
||||
|
||||
static const char *screenfilecmd[] = {"screenshot-file.sh", NULL };
|
||||
static const char *zellijcmd[] = {"foot", "-f", "BlexMono Nerd Font:size=16", "zellij", NULL};
|
||||
static const Key keys[] = {
|
||||
/* Note that Shift changes certain key codes: c -> C, 2 -> at, etc. */
|
||||
/* modifier key function argument */
|
||||
{ MODKEY, XKB_KEY_p, spawn, {.v = menucmd} },
|
||||
{ MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_Return, spawn, {.v = termcmd} },
|
||||
{ MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_Z, spawn, {.v = zellijcmd} },
|
||||
{ MODKEY, XKB_KEY_j, focusstack, {.i = +1} },
|
||||
{ MODKEY, XKB_KEY_k, focusstack, {.i = -1} },
|
||||
{ MODKEY, XKB_KEY_i, incnmaster, {.i = +1} },
|
||||
|
|
@ -143,6 +145,7 @@ static const Key keys[] = {
|
|||
{ MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_C, killclient, {0} },
|
||||
{ MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_L, spawn, {.v = lockcmd} },
|
||||
{ 0, XKB_KEY_Print, spawn, {.v = screencmd} },
|
||||
{ MODKEY, XKB_KEY_Print, spawn, {.v = screenfilecmd} },
|
||||
{ MODKEY, XKB_KEY_t, setlayout, {.v = &layouts[0]} },
|
||||
{ MODKEY, XKB_KEY_f, setlayout, {.v = &layouts[1]} },
|
||||
{ MODKEY, XKB_KEY_m, setlayout, {.v = &layouts[2]} },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue