diff options
| author | Polesznyák Márk <contact@pml68.dev> | 2025-11-17 23:05:29 +0100 |
|---|---|---|
| committer | Polesznyák Márk <contact@pml68.dev> | 2025-11-17 23:05:59 +0100 |
| commit | b3ded11c9a14571c193469d6bd9a8cc1de9d08ba (patch) | |
| tree | 1133ab8463489c8087b5ec2e19356990149e500b /dwm | |
| parent | chore: update screenshot (diff) | |
| download | suckless-setup-b3ded11c9a14571c193469d6bd9a8cc1de9d08ba.tar.gz | |
feat(dwm): add shortcut for Simplemoji emoji picker
Diffstat (limited to 'dwm')
| -rw-r--r-- | dwm/config.def.h | 2 | ||||
| -rw-r--r-- | dwm/config.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/dwm/config.def.h b/dwm/config.def.h index c2df15c..44e31b0 100644 --- a/dwm/config.def.h +++ b/dwm/config.def.h @@ -89,6 +89,7 @@ static const char *previouscmd[] = {"adb", "shell", "input", "keyevent", "88", N static const char *volumeup[] = {"pulsemixer", "--change-volume", "+5", NULL}; static const char *volumedown[] = {"pulsemixer", "--change-volume", "-5", NULL}; static const char *volumereset[] = {"pulsemixer", "--set-volume", "60", NULL}; +static const char *emojicmd[] = {"simplemoji", "-szxpt", "dark", "-m", "#e0def4", "--background-color", "#1e1e2e"}; static const char *qalccmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", @@ -133,6 +134,7 @@ static const Key keys[] = { {MODKEY | ShiftMask, XK_p, spawn, {.v = previouscmd}}, {MODKEY, XK_s, spawn, {.v = adbscreencmd}}, {MODKEY, XK_c, spawn, {.v = qalccmd}}, + {MODKEY, XK_e, spawn, {.v = emojicmd}}, {MODKEY | ShiftMask, XK_o, spawn, {.v = volumeup}}, {MODKEY | ShiftMask, XK_l, spawn, {.v = volumedown}}, {MODKEY | ShiftMask, XK_r, spawn, {.v = volumereset}}, diff --git a/dwm/config.h b/dwm/config.h index c2df15c..44e31b0 100644 --- a/dwm/config.h +++ b/dwm/config.h @@ -89,6 +89,7 @@ static const char *previouscmd[] = {"adb", "shell", "input", "keyevent", "88", N static const char *volumeup[] = {"pulsemixer", "--change-volume", "+5", NULL}; static const char *volumedown[] = {"pulsemixer", "--change-volume", "-5", NULL}; static const char *volumereset[] = {"pulsemixer", "--set-volume", "60", NULL}; +static const char *emojicmd[] = {"simplemoji", "-szxpt", "dark", "-m", "#e0def4", "--background-color", "#1e1e2e"}; static const char *qalccmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", @@ -133,6 +134,7 @@ static const Key keys[] = { {MODKEY | ShiftMask, XK_p, spawn, {.v = previouscmd}}, {MODKEY, XK_s, spawn, {.v = adbscreencmd}}, {MODKEY, XK_c, spawn, {.v = qalccmd}}, + {MODKEY, XK_e, spawn, {.v = emojicmd}}, {MODKEY | ShiftMask, XK_o, spawn, {.v = volumeup}}, {MODKEY | ShiftMask, XK_l, spawn, {.v = volumedown}}, {MODKEY | ShiftMask, XK_r, spawn, {.v = volumereset}}, |
