aboutsummaryrefslogtreecommitdiff
path: root/src/Internal/Keys.hs
diff options
context:
space:
mode:
authorJosh Rahm <rahm@google.com>2020-02-06 15:25:31 -0700
committerJosh Rahm <rahm@google.com>2020-02-06 15:25:31 -0700
commit8c6abcaebc16c8dd805a3a8f9cc57e35890c3bc5 (patch)
tree06bf11d9bd386c4b0ca7f35793d71fa3b5955cac /src/Internal/Keys.hs
parent9169597a7dcef8046f415b77e0e6cbad696ff5a2 (diff)
downloadrde-8c6abcaebc16c8dd805a3a8f9cc57e35890c3bc5.tar.gz
rde-8c6abcaebc16c8dd805a3a8f9cc57e35890c3bc5.tar.bz2
rde-8c6abcaebc16c8dd805a3a8f9cc57e35890c3bc5.zip
Multiple changes. Mostly added a prompt to quickly switch between windows by fuzzy-finding them
Diffstat (limited to 'src/Internal/Keys.hs')
-rw-r--r--src/Internal/Keys.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Internal/Keys.hs b/src/Internal/Keys.hs
index fe13cc7..b710acf 100644
--- a/src/Internal/Keys.hs
+++ b/src/Internal/Keys.hs
@@ -16,6 +16,7 @@ import qualified XMonad.StackSet as W
import XMonad.Prompt.Input
import XMonad.Prompt.Shell
import XMonad.Prompt
+import XMonad.Util.Scratchpad
import Data.Char
type KeyMap l = XConfig l -> Map (KeyMask, KeySym) (X ())
@@ -85,6 +86,7 @@ newKeys =
Map.fromList
[ ((modm, xK_F12), (void $ spawn "spotify-control next"))
, ((modm, xK_F11), (void $ spawn "spotify-control prev"))
+ , ((modm, xK_semicolon), scratchpadSpawnActionTerminal "scratchpad")
, ((modm, xK_F10), (void $ spawn "spotify-control play"))
, ((modm, xK_r), (void $ spawn "dmenu_run"))
, ((modm .|. shiftMask, xK_r), (void $ spawn "gmrun"))