mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-07-02 03:01:04 +02:00
chore: add test config file
This commit is contained in:
parent
44be58594b
commit
dcb5036964
2 changed files with 192 additions and 117 deletions
192
test-configs/orientation.corn
Normal file
192
test-configs/orientation.corn
Normal file
|
@ -0,0 +1,192 @@
|
||||||
|
|
||||||
|
{
|
||||||
|
position = "bottom"
|
||||||
|
start = [
|
||||||
|
{
|
||||||
|
type = "clock"
|
||||||
|
format = "%H:%M"
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "clock"
|
||||||
|
format = "%H:%M"
|
||||||
|
orientation = "horizontal"
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "clock"
|
||||||
|
format = "%H:%M"
|
||||||
|
orientation = "h"
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "clock"
|
||||||
|
format = "%H:%M"
|
||||||
|
orientation = "vertical"
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "clock"
|
||||||
|
format = "%H:%M"
|
||||||
|
orientation = "v"
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "custom"
|
||||||
|
bar = [
|
||||||
|
{
|
||||||
|
type = "label"
|
||||||
|
label = "label"
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "label"
|
||||||
|
label = "label"
|
||||||
|
orientation = "horizontal"
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "label"
|
||||||
|
label = "label"
|
||||||
|
orientation = "h"
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "label"
|
||||||
|
label = "label"
|
||||||
|
orientation = "vertical"
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "label"
|
||||||
|
label = "label"
|
||||||
|
orientation = "v"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "custom"
|
||||||
|
bar = [
|
||||||
|
{
|
||||||
|
type = "button"
|
||||||
|
label = "label"
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "button"
|
||||||
|
label = "label"
|
||||||
|
orientation = "horizontal"
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "button"
|
||||||
|
label = "label"
|
||||||
|
orientation = "h"
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "button"
|
||||||
|
label = "label"
|
||||||
|
orientation = "vertical"
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "button"
|
||||||
|
label = "label"
|
||||||
|
orientation = "v"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "custom"
|
||||||
|
bar = [
|
||||||
|
{
|
||||||
|
type = "progress"
|
||||||
|
value = "echo 50"
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "progress"
|
||||||
|
value = "echo 50"
|
||||||
|
orientation = "horizontal"
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "progress"
|
||||||
|
value = "echo 50"
|
||||||
|
orientation = "h"
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "progress"
|
||||||
|
value = "echo 50"
|
||||||
|
orientation = "vertical"
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "progress"
|
||||||
|
value = "echo 50"
|
||||||
|
orientation = "v"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "custom"
|
||||||
|
bar = [
|
||||||
|
{
|
||||||
|
type = "slider"
|
||||||
|
value = "echo 50"
|
||||||
|
length = 100
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "slider"
|
||||||
|
value = "echo 50"
|
||||||
|
length = 100
|
||||||
|
orientation = "horizontal"
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "slider"
|
||||||
|
value = "echo 50"
|
||||||
|
length = 100
|
||||||
|
orientation = "h"
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "slider"
|
||||||
|
value = "echo 50"
|
||||||
|
length = 100
|
||||||
|
orientation = "vertical"
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "slider"
|
||||||
|
value = "echo 50"
|
||||||
|
length = 100
|
||||||
|
orientation = "v"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "sys_info"
|
||||||
|
interval.memory = 30
|
||||||
|
interval.cpu = 1
|
||||||
|
interval.temps = 5
|
||||||
|
interval.disks = 300
|
||||||
|
interval.networks = 3
|
||||||
|
format = [
|
||||||
|
" {cpu_percent}%"
|
||||||
|
" {memory_used} / {memory_total} GB ({memory_percent}%)"
|
||||||
|
" {uptime}"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "sys_info"
|
||||||
|
orientation = "vertical"
|
||||||
|
interval.memory = 30
|
||||||
|
interval.cpu = 1
|
||||||
|
interval.temps = 5
|
||||||
|
interval.disks = 300
|
||||||
|
interval.networks = 3
|
||||||
|
format = [
|
||||||
|
" {cpu_percent}%"
|
||||||
|
" {memory_used} / {memory_total} GB ({memory_percent}%)"
|
||||||
|
" {uptime}"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "sys_info"
|
||||||
|
layout = "vertical"
|
||||||
|
interval.memory = 30
|
||||||
|
interval.cpu = 1
|
||||||
|
interval.temps = 5
|
||||||
|
interval.disks = 300
|
||||||
|
interval.networks = 3
|
||||||
|
format = [
|
||||||
|
" {cpu_percent}%"
|
||||||
|
" {memory_used} / {memory_total} GB ({memory_percent}%)"
|
||||||
|
" {uptime}"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -1,117 +0,0 @@
|
||||||
position: "bottom"
|
|
||||||
start:
|
|
||||||
- type: clock
|
|
||||||
format: "%H:%M"
|
|
||||||
- type: clock
|
|
||||||
format: "%H:%M"
|
|
||||||
orientation: horizontal
|
|
||||||
- type: clock
|
|
||||||
format: "%H:%M"
|
|
||||||
orientation: h
|
|
||||||
- type: clock
|
|
||||||
format: "%H:%M"
|
|
||||||
orientation: vertical
|
|
||||||
- type: clock
|
|
||||||
format: "%H:%M"
|
|
||||||
orientation: v
|
|
||||||
- type: custom
|
|
||||||
bar:
|
|
||||||
- type: label
|
|
||||||
label: "label"
|
|
||||||
- type: label
|
|
||||||
label: "label"
|
|
||||||
orientation: horizontal
|
|
||||||
- type: label
|
|
||||||
label: "label"
|
|
||||||
orientation: h
|
|
||||||
- type: label
|
|
||||||
label: "label"
|
|
||||||
orientation: vertical
|
|
||||||
- type: label
|
|
||||||
label: "label"
|
|
||||||
orientation: v
|
|
||||||
- type: custom
|
|
||||||
bar:
|
|
||||||
- type: button
|
|
||||||
label: "label"
|
|
||||||
- type: button
|
|
||||||
label: "label"
|
|
||||||
orientation: horizontal
|
|
||||||
- type: button
|
|
||||||
label: "label"
|
|
||||||
orientation: h
|
|
||||||
- type: button
|
|
||||||
label: "label"
|
|
||||||
orientation: vertical
|
|
||||||
- type: button
|
|
||||||
label: "label"
|
|
||||||
orientation: v
|
|
||||||
- type: custom
|
|
||||||
bar:
|
|
||||||
- type: progress
|
|
||||||
value: "echo 50"
|
|
||||||
- type: progress
|
|
||||||
value: "echo 50"
|
|
||||||
orientation: horizontal
|
|
||||||
- type: progress
|
|
||||||
value: "echo 50"
|
|
||||||
orientation: h
|
|
||||||
- type: progress
|
|
||||||
value: "echo 50"
|
|
||||||
orientation: vertical
|
|
||||||
- type: progress
|
|
||||||
value: "echo 50"
|
|
||||||
orientation: v
|
|
||||||
- type: custom
|
|
||||||
bar:
|
|
||||||
- type: slider
|
|
||||||
value: "echo 50"
|
|
||||||
- type: slider
|
|
||||||
value: "echo 50"
|
|
||||||
orientation: horizontal
|
|
||||||
- type: slider
|
|
||||||
value: "echo 50"
|
|
||||||
orientation: h
|
|
||||||
- type: slider
|
|
||||||
value: "echo 50"
|
|
||||||
length: 100
|
|
||||||
orientation: vertical
|
|
||||||
- type: slider
|
|
||||||
value: "echo 50"
|
|
||||||
length: 100
|
|
||||||
orientation: v
|
|
||||||
- type: sys_info
|
|
||||||
format:
|
|
||||||
- ' {cpu_percent}%'
|
|
||||||
- ' {memory_used} / {memory_total} GB ({memory_percent}%)'
|
|
||||||
- ' {uptime}'
|
|
||||||
interval:
|
|
||||||
cpu: 1
|
|
||||||
disks: 300
|
|
||||||
memory: 30
|
|
||||||
networks: 3
|
|
||||||
temps: 5
|
|
||||||
- type: sys_info
|
|
||||||
orientation: vertical
|
|
||||||
format:
|
|
||||||
- ' {cpu_percent}%'
|
|
||||||
- ' {memory_used} / {memory_total} GB ({memory_percent}%)'
|
|
||||||
- ' {uptime}'
|
|
||||||
interval:
|
|
||||||
cpu: 1
|
|
||||||
disks: 300
|
|
||||||
memory: 30
|
|
||||||
networks: 3
|
|
||||||
temps: 5
|
|
||||||
- type: sys_info
|
|
||||||
layout: vertical
|
|
||||||
format:
|
|
||||||
- ' {cpu_percent}%'
|
|
||||||
- ' {memory_used} / {memory_total} GB ({memory_percent}%)'
|
|
||||||
- ' {uptime}'
|
|
||||||
interval:
|
|
||||||
cpu: 1
|
|
||||||
disks: 300
|
|
||||||
memory: 30
|
|
||||||
networks: 3
|
|
||||||
temps: 5
|
|
Loading…
Add table
Add a link
Reference in a new issue