diff options
| author | Josh Rahm <joshuarahm@gmail.com> | 2024-03-05 01:10:09 -0700 |
|---|---|---|
| committer | Josh Rahm <joshuarahm@gmail.com> | 2024-03-05 01:10:09 -0700 |
| commit | ba40cdae500f153633dc306c03b0709c2c6f0276 (patch) | |
| tree | 26fd403a32f23d13bc7ccdfc185c605a1771a1dc /src/Config.hs | |
| parent | 9cd976a21d0c78e6c9291685b4d2efcb6d65a1d7 (diff) | |
| download | montis-ba40cdae500f153633dc306c03b0709c2c6f0276.tar.gz montis-ba40cdae500f153633dc306c03b0709c2c6f0276.tar.bz2 montis-ba40cdae500f153633dc306c03b0709c2c6f0276.zip | |
Better KeysM implementation and functions.
This is making better key bindings possible and awesome!
Diffstat (limited to 'src/Config.hs')
| -rw-r--r-- | src/Config.hs | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/src/Config.hs b/src/Config.hs index 87a0277..9d090d6 100644 --- a/src/Config.hs +++ b/src/Config.hs @@ -9,14 +9,18 @@ config = defaultConfig { hooks = defaultHooks - { keyHook = ofKeys testKeys, - -- runKeybinds $ do - -- bind (Mod1 .+ 'r') (shellExec "wofi --show run") + { keyHook = keys $ do + ignoreReleaseEvents - -- subbind (Mod1 .+ 'g') $ do - -- bind 't' $ shellExec "alacritty" + bind (Mod1 .+ 'r') (shellExec "wofi --show run") + bind (Shift .+ Mod1 .+ 'R') requestHotReload + bind (Mod1 .+ 't') (shellExec "alacritty") - -- bind (Mod1 .+ 'Q') requestHotReload, + subbind (Mod1 .+ 'l') $ do + bind 'l' $ wio $ putStrLn "lololololo" + bind 'j' $ wio $ putStrLn "JOGGING!" + + forwardEvent, surfaceHook = wio . print }, layout = WindowLayout Full |