aboutsummaryrefslogtreecommitdiff
path: root/src/Config.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Config.hs')
-rw-r--r--src/Config.hs16
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