diff options
author | Kierán Meinhardt <kieran.meinhardt@gmail.com> | 2020-09-30 16:56:58 +0200 |
---|---|---|
committer | Kierán Meinhardt <kieran.meinhardt@gmail.com> | 2020-09-30 16:56:58 +0200 |
commit | b59a8dc851bc06b64c166ad429238c05278fe56a (patch) | |
tree | a5880d238fd1fc1c7d5566b0fb1494a5e5f75469 | |
parent | 2e7376208f7d0ca3be926a000fde517a9f329023 (diff) |
kmein config: remove calls to deprecated System.Process functions
-rw-r--r-- | config/kmein.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/kmein.hs b/config/kmein.hs index 5a121bb..397f1c8 100644 --- a/config/kmein.hs +++ b/config/kmein.hs @@ -118,7 +118,7 @@ myKeymap "S" = fmap snd . saveAttachment myKeymap "o" = saveAttachment >=> \case (Nothing, q') -> return q' (Just filePath, q') -> - q' <$ runCommand ("xdg-open " <> filePath) + q' <$ callProcess "xdg-open" [filePath] myKeymap "q" = \q -> q <$ raiseSignal sigINT |