Skip to content
This repository has been archived by the owner on Aug 13, 2024. It is now read-only.

Latest commit

 

History

History
68 lines (56 loc) · 2.36 KB

README.md

File metadata and controls

68 lines (56 loc) · 2.36 KB
2024-08-01.21-45-05.mp4

TODO

  • 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?)

Configuration

Please refer to config.jsonc and schema

Place config.jsonc under ~/.config/way-edges/

Arguments

  1. Run daemon first(way-edges daemon).
  2. Add group of widgets given group name specified in your configuration file(way-edges add <group_name>).
  3. 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