aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJosh Rahm <rahm@google.com>2024-02-21 17:15:51 -0700
committerJosh Rahm <rahm@google.com>2024-02-21 17:15:51 -0700
commit0724c6d9cd77d83bd113204bdec5ac23491c35d7 (patch)
treed14982194394384c7ab8f6e55d01f82ebb007381 /src
parent4f8ce84e195458ad133d9643e514d201d54c3474 (diff)
downloadwetterhorn-0724c6d9cd77d83bd113204bdec5ac23491c35d7.tar.gz
wetterhorn-0724c6d9cd77d83bd113204bdec5ac23491c35d7.tar.bz2
wetterhorn-0724c6d9cd77d83bd113204bdec5ac23491c35d7.zip
Add wofi to the keylist and change the hotreload key
Diffstat (limited to 'src')
-rw-r--r--src/Wetterhorn/Core.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Wetterhorn/Core.hs b/src/Wetterhorn/Core.hs
index 29d4d8d..b5e4a6f 100644
--- a/src/Wetterhorn/Core.hs
+++ b/src/Wetterhorn/Core.hs
@@ -94,14 +94,14 @@ data WConfig = WConfig
defaultBindings :: Map (KeyState, Word32, Word32) (W ())
defaultBindings =
Map.fromList
- [ ((KeyPressed, 0x8, sym 'r'), requestHotReload),
+ [ ((KeyPressed, 0x9, sym 'Q'), requestHotReload),
+ ((KeyPressed, 0x8, sym 'r'), wio $ ForeignInterface.doShellExec "wofi --show run"),
((KeyPressed, 0x8, sym 'l'), requestLog "This is a log statement!\n"),
((KeyPressed, 0x8, sym 't'), wio $ ForeignInterface.doShellExec "alacritty"),
((KeyPressed, 0x9, sym 'T'), wio $ ForeignInterface.doShellExec "gnome-terminal"),
((KeyPressed, 0x8, sym 'c'), wio $ ForeignInterface.doShellExec "pavucontrol"),
((KeyPressed, 0x8, sym 'q'), requestExit 0)
]
-
where
sym = fromIntegral . ord