Migrate Greenclip Config from cfg to toml
This commit is contained in:
@@ -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
|
*** Greenclip Clipboard Manager
|
||||||
|
|
||||||
#+BEGIN_SRC conf :tangle .config/greenclip.cfg
|
#+BEGIN_SRC toml :tangle .config/greenclip.toml
|
||||||
Config {
|
[greenclip]
|
||||||
maxHistoryLength = 50,
|
history_file = "~/.cache/greenclip.history"
|
||||||
historyPath = "~/.cache/greenclip.history",
|
max_history_length = 50
|
||||||
staticHistoryPath = "~/.cache/greenclip.staticHistory",
|
max_selection_size_bytes = 0
|
||||||
imageCachePath = "/tmp/greenclip/",
|
trim_space_from_selection = true
|
||||||
usePrimarySelectionAsInput = False,
|
use_primary_selection_as_input = false
|
||||||
blacklistedApps = [],
|
blacklisted_applications = []
|
||||||
trimSpaceFromSelection = True,
|
enable_image_support = true
|
||||||
enableImageSupport = True
|
image_cache_directory = "/tmp/greenclip"
|
||||||
}
|
static_history = [
|
||||||
|
'''¯\_(ツ)_/¯''',
|
||||||
|
]
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
* Display Configuration & Effects
|
* Display Configuration & Effects
|
||||||
|
Reference in New Issue
Block a user