Migrate Greenclip Config from cfg to toml
This commit is contained in:
parent
451285238c
commit
ffd64c6248
@ -1,10 +0,0 @@
|
||||
Config {
|
||||
maxHistoryLength = 50,
|
||||
historyPath = "~/.cache/greenclip.history",
|
||||
staticHistoryPath = "~/.cache/greenclip.staticHistory",
|
||||
imageCachePath = "/tmp/greenclip/",
|
||||
usePrimarySelectionAsInput = False,
|
||||
blacklistedApps = [],
|
||||
trimSpaceFromSelection = True,
|
||||
enableImageSupport = True
|
||||
}
|
12
.config/greenclip.toml
Normal file
12
.config/greenclip.toml
Normal file
@ -0,0 +1,12 @@
|
||||
[greenclip]
|
||||
history_file = "~/.cache/greenclip.history"
|
||||
max_history_length = 50
|
||||
max_selection_size_bytes = 0
|
||||
trim_space_from_selection = true
|
||||
use_primary_selection_as_input = false
|
||||
blacklisted_applications = []
|
||||
enable_image_support = true
|
||||
image_cache_directory = "/tmp/greenclip"
|
||||
static_history = [
|
||||
'''¯\_(ツ)_/¯''',
|
||||
]
|
24
README.org
24
README.org
@ -2867,17 +2867,19 @@ element-icon {
|
||||
|
||||
*** Greenclip Clipboard Manager
|
||||
|
||||
#+BEGIN_SRC conf :tangle .config/greenclip.cfg
|
||||
Config {
|
||||
maxHistoryLength = 50,
|
||||
historyPath = "~/.cache/greenclip.history",
|
||||
staticHistoryPath = "~/.cache/greenclip.staticHistory",
|
||||
imageCachePath = "/tmp/greenclip/",
|
||||
usePrimarySelectionAsInput = False,
|
||||
blacklistedApps = [],
|
||||
trimSpaceFromSelection = True,
|
||||
enableImageSupport = True
|
||||
}
|
||||
#+BEGIN_SRC toml :tangle .config/greenclip.toml
|
||||
[greenclip]
|
||||
history_file = "~/.cache/greenclip.history"
|
||||
max_history_length = 50
|
||||
max_selection_size_bytes = 0
|
||||
trim_space_from_selection = true
|
||||
use_primary_selection_as_input = false
|
||||
blacklisted_applications = []
|
||||
enable_image_support = true
|
||||
image_cache_directory = "/tmp/greenclip"
|
||||
static_history = [
|
||||
'''¯\_(ツ)_/¯''',
|
||||
]
|
||||
#+END_SRC
|
||||
|
||||
* Display Configuration & Effects
|
||||
|
Loading…
x
Reference in New Issue
Block a user