Open H7ioo opened 1 month ago
Hello and thanks for the report. There are currently a bunch of fixes for various bar issues on the latest nightly release.
To avoid duplicating effort please first confirm if you can reproduce these issues on the nightly release.
Sure!
Removed current installation
Downloaded Nightly. (That Rust build took forever ngl.)
Made sure that I'm using the nightly version
komorebic 0.1.30
tag:nightly
commit_hash:09afad62
build_time:2024-10-22 14:49:49 +03:00
build_env:rustc 1.82.0 (f6e511eec 2024-10-15),stable-x86_64-pc-windows-msvc
Got the following error: Your bar configuration file contains some options that have been renamed or deprecated "viewport" is now "position"
Updated "viewport" to "position" and made y:20
instead of y: 10
because the old (y:10
) cut the bar in half.
Schema.bar.json
{
"$schema": "https://raw.githubusercontent.com/LGUG2Z/komorebi/v0.1.29/schema.bar.json",
"monitor": {
"index": 0,
"work_area_offset": {
"left": 0,
"top": 10,
"right": 0,
"bottom": 10
}
},
"font_family": "JetBrains Mono",
"theme": {
"palette": "Base16",
"name": "Ashes",
"accent": "Base0D"
},
"font_size": 9,
"position": {
"inner_size": {
"x": 1920,
"y": 20
}
},
"frame": {
"inner_margin": {
"x": 15,
"y": 0
}
},
"left_widgets": [
{
"Komorebi": {
"workspaces": {
"enable": true,
"hide_empty_workspaces": false
},
"layout": {
"enable": true
},
"focused_window": {
"enable": true,
"show_icon": true
}
}
}
],
"right_widgets": [
{
"Media": {
"enable": true
}
},
{
"Memory": {
"enable": true
}
},
{
"Network": {
"enable": true,
"show_total_data_transmitted": true,
"show_network_activity": true
}
},
{
"Date": {
"enable": true,
"format": "DayDateMonthYear"
}
},
{
"Time": {
"enable": true,
"format": "TwentyFourHour"
}
}
]
}
Thanks for the awesome project by the way.
I have been facing the same problem. I have some position configurations specified in my Json file that don't get applied unless I reopen vs code and press ctrl + s
to re-save the komkorebi-bar.json
file to have the bar update to the correct position.
do the configurations not get loaded when the bar gets launched?
Which version are you running?
komorebi 0.1.30
tag:v0.1.30
commit_hash:9a3dbccc
build_time:2024-11-03 23:49:52 +00:00
build_env:rustc 1.82.0 (f6e511eec 2024-10-15),stable-x86_64-pc-windows-msvc
Looking for configuration files in C:\Users\mmsye
Found komorebi.json; this file can be passed to the start command with the --config flag
Found C:\Users\mmsye\.config\whkdrc; key bindings will be loaded from here when whkd is started, and you can start it automatically using the --whkd flag
it's interesting that everything else gets loaded correctly on bar start except for the position configurations, in my case:
"position": {
"start": {
"x": 0,
"y": -10
},
"end": {
"x": 1920,
"y": 45
}
probably a little bug somehwere @LGUG2Z take a look at this when u can pretty please 🥹
Summary
Komorebi bar's few configurations don't apply correctly on the
komorebic start --whkd --bar
commandBug video demo
Version Information
OS Name: Microsoft Windows 11 Home Single Language OS Version: 10.0.22631 N/A Build 22631
komorebic 0.1.29 tag:v0.1.29 commit_hash:818ac340 build_time:2024-09-28 01:48:31 +00:00 build_env:rustc 1.81.0 (eeb90cda1 2024-09-04),stable-x86_64-pc-windows-msvc
Komorebi Configuration
Komorebi.json
Komorebi.bar.json
Output of komorebic check