Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bl-czy/dvvidget
A widget system that works under wayland written in Rust 🦀
https://github.com/bl-czy/dvvidget
async asynchronous desktop-rice gtk-layer-shell gtk4 help-wanted hyprland linux linux-desktop rice ricing rust tokio tokio-rs ui wayland wayland-compatibility widget
Last synced: about 2 months ago
JSON representation
A widget system that works under wayland written in Rust 🦀
- Host: GitHub
- URL: https://github.com/bl-czy/dvvidget
- Owner: BL-CZY
- Created: 2024-07-24T20:30:41.000Z (6 months ago)
- Default Branch: master
- Last Pushed: 2024-10-17T07:23:02.000Z (3 months ago)
- Last Synced: 2024-10-19T07:25:08.707Z (3 months ago)
- Topics: async, asynchronous, desktop-rice, gtk-layer-shell, gtk4, help-wanted, hyprland, linux, linux-desktop, rice, ricing, rust, tokio, tokio-rs, ui, wayland, wayland-compatibility, widget
- Language: Rust
- Homepage:
- Size: 1.4 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dvvidget
Hi! This the widget system that I wrote for my own desktop
Here is a list of compositors on which it works-- Hyprland: ✓
-- Sway: unknown### How to build
You'll need ```gtk4-layer-shell``` as a dependency,
and simply running ```./install.sh``` would do the job.In order to get the brightness module to work, please set up your backlight as stated in the [Arch Wiki](https://wiki.archlinux.org/title/Backlight)
### Usage
Use ```-h/--help``` to print help
Dvvidget supports custom configs and css files,
you can use ```-c``` or ```--config``` flag to set the path. The default path is ```$HOME/.config/dvvidget/config.toml```
Here is a sample config file:
```toml
[general]
css_path = "absolute/path/to/your/css"[volume]
max_vol = 100
run_cmd = "wpctl"[volume.window]
visible_on_start = false
exclusive = false
anchor_left = false
anchor_right = false
anchor_top = false
anchor_bottom = true
margin_left = 0
margin_right = 0
margin_top = 0
margin_bottom = 130
```
There is a style.css in src that has a sample css
It uses gtk css