aboutsummaryrefslogtreecommitdiff
path: root/src/Internal
diff options
context:
space:
mode:
authorJosh Rahm <rahm@google.com>2022-01-10 14:57:47 -0700
committerJosh Rahm <rahm@google.com>2022-01-10 14:57:47 -0700
commit0e4b0187167e43c3c00371cbcca5cc892521bdb2 (patch)
tree97677083c9b2a6a33d98152066ad706dafc09769 /src/Internal
parent8f4949e51a5b4c563d4e5fc9ddf7123561cdf234 (diff)
downloadrde-0e4b0187167e43c3c00371cbcca5cc892521bdb2.tar.gz
rde-0e4b0187167e43c3c00371cbcca5cc892521bdb2.tar.bz2
rde-0e4b0187167e43c3c00371cbcca5cc892521bdb2.zip
Add emoticon-select.
It's the same as emoji select, but with emoticons. Key bound to <C-z>E (capital E, as opposed to <C-z>e for emojis)
Diffstat (limited to 'src/Internal')
-rw-r--r--src/Internal/Keys.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Internal/Keys.hs b/src/Internal/Keys.hs
index fc0244b..bf9b62c 100644
--- a/src/Internal/Keys.hs
+++ b/src/Internal/Keys.hs
@@ -231,8 +231,9 @@ keymap = runKeys $ do
bind xK_c $ do
shiftMod CopyWindow.killAllOtherCopies
- bind xK_e $
+ bind xK_e $ do
(justMod -|- noMod) $ spawn "emoji-select.sh"
+ (shiftMod -|- rawMask shiftMask) $ spawn "emoticon-select.sh"
bind xK_a $
(justMod -|- noMod) $ spawn "set-sink.sh"