mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-04-19 19:34:24 +02:00
chore(intellij): load config from environment variable
This commit is contained in:
parent
120580994c
commit
001dd5473a
3 changed files with 20 additions and 0 deletions
1
.idea/runConfigurations/Run.xml
generated
1
.idea/runConfigurations/Run.xml
generated
|
@ -10,6 +10,7 @@
|
|||
<option name="buildTarget" value="REMOTE" />
|
||||
<option name="backtrace" value="SHORT" />
|
||||
<envs>
|
||||
<env name="IRONBAR_CONFIG" value="examples/config.json" />
|
||||
<env name="PATH" value="/usr/local/bin:/usr/bin:$USER_HOME$/.local/share/npm/bin" />
|
||||
</envs>
|
||||
<option name="isRedirectInput" value="false" />
|
||||
|
|
1
.idea/runConfigurations/Run__Debug_.xml
generated
1
.idea/runConfigurations/Run__Debug_.xml
generated
|
@ -11,6 +11,7 @@
|
|||
<option name="backtrace" value="SHORT" />
|
||||
<envs>
|
||||
<env name="GTK_DEBUG" value="interactive" />
|
||||
<env name="IRONBAR_CONFIG" value="examples/config.json" />
|
||||
</envs>
|
||||
<option name="isRedirectInput" value="false" />
|
||||
<option name="redirectInputPath" value="" />
|
||||
|
|
18
examples/config.json
Normal file
18
examples/config.json
Normal file
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"monitors": {
|
||||
"DP-1": [
|
||||
{
|
||||
"left": [{"type": "clock"}]
|
||||
},
|
||||
{
|
||||
"position": "top",
|
||||
"left": []
|
||||
}
|
||||
],
|
||||
"DP-2": {
|
||||
"position": "bottom",
|
||||
"height": 30,
|
||||
"left": []
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue