aboutsummaryrefslogtreecommitdiff
path: root/src/Internal/Keys.hs
diff options
context:
space:
mode:
authorJosh Rahm <joshuarahm@gmail.com>2021-11-29 13:11:54 -0700
committerJosh Rahm <joshuarahm@gmail.com>2021-11-29 13:11:54 -0700
commitedf2bd9db98a367261debe56ad2f4f6fb61b6c09 (patch)
tree52f5343a37e06d5b4d1914a7a5d00807e3f16497 /src/Internal/Keys.hs
parentc5a27bb21f012a521e90350d4322c458f3a3e618 (diff)
downloadrde-edf2bd9db98a367261debe56ad2f4f6fb61b6c09.tar.gz
rde-edf2bd9db98a367261debe56ad2f4f6fb61b6c09.tar.bz2
rde-edf2bd9db98a367261debe56ad2f4f6fb61b6c09.zip
Add some changes.
1. Make the spotify control work for both Spotify and Spotifyd 2. Xmobar weather not break xmobar when not connected to the internet 3. Add g<space> keybinding to go to the toogle-cased version of the current workspace.
Diffstat (limited to 'src/Internal/Keys.hs')
-rw-r--r--src/Internal/Keys.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Internal/Keys.hs b/src/Internal/Keys.hs
index 89e2cf1..2905ba0 100644
--- a/src/Internal/Keys.hs
+++ b/src/Internal/Keys.hs
@@ -141,6 +141,7 @@ keymap = runKeys $ do
justMod $ mapNextString $ \_ str ->
case str of
[ch] | isAlphaNum ch -> gotoWorkspace ch
+ [' '] -> gotoAccompaningWorkspace
_ -> return ()
shiftMod $ mapNextString $ \_ str ->
case str of