feat: anchor point for working set

This commit is contained in:
galister
2024-04-24 10:19:26 +09:00
parent f6a9db5759
commit 1fa842bb44
14 changed files with 176 additions and 38 deletions

26
src/res/anchor.yaml Normal file
View File

@@ -0,0 +1,26 @@
# looking to make changes?
# drop me in ~/.config/wlxoverlay/anchor.yaml
#
width: 0.1
size: [200, 200]
# +X: right, +Y: up, +Z: back
spawn_pos: [0, 0, -1]
elements:
- type: Panel
rect: [98, 0, 4, 200]
bg_color: "#ffff00"
- type: Panel
rect: [0, 98, 200, 4]
bg_color: "#ffff00"
- type: Label
rect: [8, 90, 600, 70]
font_size: 18
fg_color: "#ffff00"
source: Static
text: Center