-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# Dvvidget | ||
Hi! This the widget system that I wrote for my own desktop <br /> | ||
Here is a list of compositors on which it works | ||
|
||
-- Hyprland: ✓ <br /> | ||
-- Sway: unknown <br /> | ||
|
||
### How to build | ||
You'll need ```gtk4-layer-shell``` as a dependency, | ||
and simply running ```cargo build --release``` would do the job. | ||
|
||
### Usage | ||
Use ```-h/--help``` to print help <br /> | ||
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``` | ||
<br /> | ||
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 | ||
``` |