gtk-rs-core
eww
gtk-rs-core | eww | |
---|---|---|
3 | 115 | |
262 | 8,472 | |
3.8% | - | |
9.8 | 8.4 | |
5 days ago | 7 days ago | |
Rust | Rust | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
gtk-rs-core
-
Nix Software Center: gtk4/libadwaita app store for NixOS
nix-software-center> [1/6] Generating src/resources_gresource with a custom command nix-software-center> xml-stripblanks preprocessing requested, but XMLLINT is not set, and xmllint is not in PATH nix-software-center> [4/6] Generating data/dev.vlinkz.NixSoftwareCenter.metainfo.xml with a custom command nix-software-center> FAILED: src/nix-software-center nix-software-center> /nix/store/p643r4aczmzb0dhyrx3dj592f0s5v7xj-coreutils-9.0/bin/env CARGO_HOME=/build/r4npznxg986vxdl3gh7jhmqvv8jbvf02-source/build/cargo-home /nix/store/2gwhsd2jcz90zni0pwlhhfbmfbflixws-cargo-1.60.0/bin/cargo build --manifest-path /build/r4npznxg986vxdl3gh7jhmqvv8jbvf02-source/Cargo.toml --target-dir /build/r4npznxg986vxdl3gh7jhmqvv8jbvf02-source/build/src --release && cp src/release/nix-software-center src/nix-software-center nix-software-center> ninja: build stopped: subcommand failed. error: builder for '/nix/store/m9kf43zsr5hkq2igfdnag0phq154igks-nix-software-center-0.0.1.drv' failed with exit code 1; last 10 log lines: > building > build flags: -j8 -l8 > [0/6] Generating src/cargo-build with a custom command > error: package cairo-sys-rs v0.16.0 (https://github.com/gtk-rs/gtk-rs-core#9fe7e5ce) cannot be built because it requires rustc 1.63 or newer, while the currently active rustc version is 1.60.0 > [1/6] Generating src/resources_gresource with a custom command > xml-stripblanks preprocessing requested, but XMLLINT is not set, and xmllint is not in PATH > [4/6] Generating data/dev.vlinkz.NixSoftwareCenter.metainfo.xml with a custom command > FAILED: src/nix-software-center > /nix/store/p643r4aczmzb0dhyrx3dj592f0s5v7xj-coreutils-9.0/bin/env CARGO_HOME=/build/r4npznxg986vxdl3gh7jhmqvv8jbvf02-source/build/cargo-home /nix/store/2gwhsd2jcz90zni0pwlhhfbmfbflixws-cargo-1.60.0/bin/cargo build --manifest-path /build/r4npznxg986vxdl3gh7jhmqvv8jbvf02-source/Cargo.toml --target-dir /build/r4npznxg986vxdl3gh7jhmqvv8jbvf02-source/build/src --release && cp src/release/nix-software-center src/nix-software-center > ninja: build stopped: subcommand failed. For full logs, run 'nix log /nix/store/m9kf43zsr5hkq2igfdnag0phq154igks-nix-software-center-0.0.1.drv'. error: 1 dependencies of derivation '/nix/store/clykb6wwpv08l2vxnvnx8br7fzpx2y63-system-path.drv' failed to build error: 1 dependencies of derivation '/nix/store/321q6c143bf5w7m8njzvqkhjillbssk5-nixos-system-nflx-erahhal-t490s-22.05.20220902.67e4507.drv' failed to build
-
Gtk4 Tutorial
"Automatically figuring out which parent objects the class you're subclassing derives from"
AFAIK this is a language limitation, there is no way in a Rust macro to take a type and get all the traits that are implemented for that type.
"Helpers for properties and signals"
There is an open issue for this: https://github.com/gtk-rs/gtk-rs-core/issues/27
"A flat list of methods, instead of the public/imp split"
You can already do this in your code and use "pub fn" and "fn" like normal.
"I feel like I had a difficult time figuring out how to share state between widgets. You end up with lots of OnceCell, Rc, and RefCell, and it quickly becomes confusing,"
I think you are supposed to use bind_property and the gtk::Expression objects to do data binding, though that part is not so convenient to use from C or Rust either.
-
How to (properly) use subclassing in gtk4-rs?
Ideally this should be automated with a nice derive macro, see https://github.com/gtk-rs/gtk-rs-core/issues/27 . How that could look exactly is still up to discussion and not so easy while keeping it flexible. That derive macro would then likely also work with the id: usize parameter to the property setter/getter instead of the string name.
eww
-
Widgets: which are the alternatives?
I'm trying to get the most out of my OS (Arch with X11 and Awesomewm), but I'm stuck with the widgets. I would like to create/use some utilities like an interactive calendar, small TODO list, dropdown menu, etc. but using the awesomewm widgets is too difficult and limiting. I found eww but it seems as difficult as the former widgets.
-
eww fails to compile
Reported and closed upstream: https://github.com/elkowar/eww/issues/712
-
How do I autostart Eww bar inside the hyprland.conf file?
The reason, why eww would not start, is because i compiled it myself with rustup according to the official documentation (https://elkowar.github.io/eww/) and not by the AUR. After installing it with the AUR it workes in Hyprland. So in conclustion: If you wanna use Eww on Hyprland, use the AUR method and not the method on the Docs!
-
Sway/workspace by Eww
Are you as mystified as me? I'll save you the google search: eww is Elkowars Wacky Widgets a standalone widget system made in Rust that allows you to implement your own, custom widgets in any window manager.
-
Eww is hard :(
Well actually there is https://elkowar.github.io/eww. I used it to make my config and also looked at other configs.
-
changing profiles
I'm guessing one could use [eww](https://elkowar.github.io/eww/) to create buttons/widgets. And the buttons could dispatch commands to any of the wallpaper/theme changing applications to actually execute the change.
-
Get workspaces information (to integrate with Eww)?
I'd like to get informations from xmonad on all the currently active workspaces and which one is the current workspace. Possibly I'd like to format that information into a JSON object for better integration with Eww, which I'm using as a status bar.
-
How to get the groups in use via the Command-API
Hi all, I'm trying to configure a bar with eww (https://github.com/elkowar/eww) and I' stuck getting the workspace widget to work.
-
calendar
No, as far as I know. I personally use eww and toggle a calendar when clicking on a time widget. I'm using the config in this repo
- Does anyone know how to build this with EWW?This is an awesome wm rice, actually,but I can't figure out how to make it.Also,I want to build it with EWW in hyprland. Source:https://www.youtube.com/watch?v=-dkpcEeKk0E&t=3
What are some alternatives?
Gtk4-tutorial - GTK 4 tutorial for beginners
Waybar - Highly customizable Wayland bar for Sway and Wlroots based compositors. :v: :tada:
Relm4 - Build truly native applications with ease!
conky - Light-weight system monitor for X, Wayland (sort of), and other things, too
poppler-rs - Render PDFs in Rust using libpoppler
rofi - A huge collection of Rofi based custom Applets, Launchers & Powermenus.
async-tungstenite - Async binding for Tungstenite, the Lightweight stream-based WebSocket implementation
dwm-flexipatch - A dwm build with preprocessor directives to decide which patches to include during build time
marko-editor - Marko Editor is a simple WYSIWYG editor for note taking.
Hyprland - Hyprland is a highly customizable dynamic tiling Wayland compositor that doesn't sacrifice on its looks.
nix-editor - A simple rust program to edit NixOS configuration files with just a command
bumblebee-status - bumblebee-status is a modular, theme-able status line generator for the i3 window manager.