aboutsummaryrefslogtreecommitdiff
path: root/src/Internal/Keys.hs
diff options
context:
space:
mode:
authorJosh Rahm <joshuarahm@gmail.com>2022-01-10 22:08:40 -0700
committerJosh Rahm <joshuarahm@gmail.com>2022-01-10 22:08:40 -0700
commit0f05c8b099cc6a1f6299f095d96e6a79d4a96b4c (patch)
tree4d9c9c0bdf56cd81f55c8604d01a7ae20a5725e5 /src/Internal/Keys.hs
parentb3692bd5a676f07e926f7a0b36b43d4efaaa5c1c (diff)
parent39bda6b806461d879f96c25e9886022ebcc5a4c6 (diff)
downloadrde-0f05c8b099cc6a1f6299f095d96e6a79d4a96b4c.tar.gz
rde-0f05c8b099cc6a1f6299f095d96e6a79d4a96b4c.tar.bz2
rde-0f05c8b099cc6a1f6299f095d96e6a79d4a96b4c.zip
Merge branch 'v017' of josher.dev:rde into v017
Diffstat (limited to 'src/Internal/Keys.hs')
-rw-r--r--src/Internal/Keys.hs8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/Internal/Keys.hs b/src/Internal/Keys.hs
index d4a856c..bf9b62c 100644
--- a/src/Internal/Keys.hs
+++ b/src/Internal/Keys.hs
@@ -68,7 +68,7 @@ keymap = runKeys $ do
-- something goes wrong with the keyboard layout and for first-time boots
-- where dmenu/alacritty may not be installed.
rawMask mod4Mask $ spawn "xterm"
- justMod $ spawn "pkill -SIGUSR 1 xmobar"
+ justMod $ spawn "pkill -SIGUSR1 xmobar"
bind xK_F1 $ do
-- Button programmed on mouse
@@ -231,8 +231,12 @@ 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"
-- Double-tap Z to toggle zoom.