From 0724c6d9cd77d83bd113204bdec5ac23491c35d7 Mon Sep 17 00:00:00 2001 From: Josh Rahm Date: Wed, 21 Feb 2024 17:15:51 -0700 Subject: Add wofi to the keylist and change the hotreload key --- src/Wetterhorn/Core.hs | 4 ++-- 1 file 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 -- cgit