Note
Archived, moving to https://github.com/way-edges/way-edges
Doc: https://way-edges.github.io
2024-08-01.21-45-05.mp4
- Cairo paint buttons & shadow
- GTK4 DrawArea & pre-draw surface cache
- click event
- button movement: motion curve(linear for now: y=x)
- Frame rate management, only renders when visible.(to save resources)
-
wl_surface
input region dynamically changes with button movement - pre-draw surface transformation(to fit other edges)
- widget grouping
- configuration file
- cmdline args
- margin
- watch file & hot reload
- modulize mouse event
- [-] relative height(wayland compositor specific relative height as features(including exclusive zone calculation))
- CLI
- ease-in & ease-out button motion curve
- widgets
- Button
- Slider(for volume, brightness, etc.)
- PulseAudio(Speaker, Microphone)
- allow specify device(only default for now)
- Brightness
- Ring progress(for cpu/ram... status)
- Box
- Time
- Tray
- Hyprland Workspaces
- ?multiple click & long press & release event(Button widget)
-
?buttom size calculation, arrangement and overlap(should this be considered?)
Please refer to config.jsonc and schema
Place config.jsonc
under ~/.config/way-edges/
- Run daemon first(
way-edges daemon
). - Add group of widgets given group name specified in your configuration file(
way-edges add <group_name>
). - Some command require widget_name specified in order to operate.
Hidden widget on the screen edges
Usage: way-edges [OPTIONS] <COMMAND>
Commands:
daemon run daemon. There can only be one daemon at a time
add add group of widgets to applicatoin given group name
rm remove group of widgets to applicatoin given group name
togglepin toggle pin of a widget under certain group. format: <group_name>:<widget_name>
quit close daemon
help Print this message or the help of the given subcommand(s)
Options:
-d, --mouse-debug whether enable mouse click output, shoule be used width daemon command
-h, --help Print help
-V, --version Print version