ok so made a new formula for the workspace logic , its easy res(len)*scale^(-1) + c and here frm my tests i got c=10 for 1080p monitors. It works flawlessly in my setup but i still havent tested it on diff moniters so cant say its universal .okk added shr.rs and the logic is clean af . js do basic math easy , i made c configureable with a integer pass , pass the val of c and youre good , to go but i still havent decided vals for c for other setups , lets them try lol .bruh i added use fn branch after command and wondering , why i am getting unknown command “use” lol.wow got an error thread 'main' (15889) panicked at src/ls.rs:32:10:cant parse monitor data: Error("missing field `available`", line: 45, column: 1)note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace[erox@archbtw distroller]$ ok pretty good , there was a prob with the avalible in the struct in ls but i js used serde def haha always false if no val , i have hyprctl monitors all -j so nothing to worry anyways it works now
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.