notedeck
notedeck copied to clipboard
[FR] Set window app_id / class
Currently notedeck doesn't contain them:
$ swaymsg -t get_tree
#24: workspace "3"
#26: con "(null)"
#25: con "cargo run" (xdg_shell, pid: 74593, app_id: "kitty")
#40: con "Damus NoteDeck" (xdg_shell, pid: 102851)
chatgpt says:
use winit::platform::unix::WindowBuilderExtUnix;
use winit::event_loop::EventLoop;
use winit::window::WindowBuilder;
fn main() {
let event_loop = EventLoop::new();
let window = WindowBuilder::new()
.with_title("Damus NoteDeck")
.with_app_id("notedeck") // Set your app_id here
.build(&event_loop)
.unwrap();
// Your egui code here
}
Actually I tested the with_app_id before filing this issue, but not working.
I'll try to find the way with the egui examples.