Sanpi
Sanpi
I don’t know if it’s possible to have a responsive design with GTK, a compact view can be a good alternative.
I have this crash only when I quit the application, it’s minor issue. The problem seems already identified in relm: https://github.com/antoyo/relm/issues/278
It’s strange, when I execute it (compiled in release mode), I have a prettier output: ``` $ LANG=C; unset DISPLAY; ./target/release/effitask Unable to init server: Could not connect: Connection refused...
https://github.com/antoyo/relm/issues/254
Can you post a screenshot? The [dark stylesheet](https://github.com/sanpii/effitask/blob/1.4.0/resources/style_dark.css) is small and only adjust background colors. The other changes are made by the theme itself.
I don’t know but it should work. The biggest challenge is probably the packaging (gtk is not windows friendly). https://gtk-rs.org/docs-src/tutorial/cross
Another tutorial, for windows users: https://www.reddit.com/r/rust/comments/86kmhu/compiling_rust_windows_gtk_stepbystep/
@JohnWang1023 Thank you :smiley: The xdg crate is only available for unix OS. I need it to find resource files (images and stylesheets) in `/usr/share/effitask`.
I’ll replace the xdg crate with [directories](https://github.com/soc/directories-rs), which is multi-platform.
Waiting for https://github.com/soc/directories-rs/issues/39