termonad-4.0.1.1: Terminal emulator configurable in Haskell
Safe HaskellNone
LanguageHaskell2010

Termonad.PreferencesFile

Synopsis

Documentation

getPreferencesFile :: IO FilePath Source #

Get the path to the preferences file ~/.config/termonad/termonad.yaml.

tmConfigFromPreferencesFile :: IO TMConfig Source #

Read the configuration for the preferences file ~/.config/termonad/termonad.yaml. This file stores only the options of TMConfig so hooks are initialized with defaultConfigHooks. If the file doesn't exist, create it with the default values.

saveToPreferencesFile :: TMConfig -> IO () Source #

Save the configuration to the preferences file ~/.config/termonad/termonad.yaml