Jas-SinghFSU / HyprPanel

A Bar/Panel for Hyprland with extensive customizability.
MIT License
932 stars 64 forks source link

Added a CLI command to update layout. #521

Closed Jas-SinghFSU closed 4 days ago

Jas-SinghFSU commented 4 days ago

agsv1 -r 'setLayout("newLayoutJson")'

Example:

agsv1 -r 'setLayout("{\"0\":{\"left\":[\"dashboard\",\"windowtitle\",\"media\"],\"middle\":[\"updates\",\"workspaces\",\"notifications\"],\"right\":[\"volume\",\"network\",\"bluetooth\",\"battery\",\"systray\",\"clock\",\"hypridle\",\"hyprsunset\"]},\"*\":{\"left\":[\"dashboard\",\"windowtitle\",\"media\"],\"middle\":[\"workspaces\"],\"right\":[\"volume\",\"clock\",\"notifications\"]}}")'