nwg-piotr / nwg-displays

Output management utility for sway and Hyprland.
MIT License
334 stars 22 forks source link

Set output file for hyprland #17

Closed RononDex closed 3 months ago

RononDex commented 1 year ago

nwg-displays has an option -o to define the output file for sway. However, there should also be one for hyprland which would allow us to use our own config structure

hakan-demirli commented 6 months ago

I think this issue is resolved. I am on Hyprland and I can create a new config file in any directory.

nwg-displays -m ./moncon.conf

README is old though. -o is deprecated and it is now -m.

nwg-displays -h
usage: nwg-displays [-h] [-m MONITORS_PATH] [-n NUM_WS] [-v]

options:
  -h, --help            show this help message and exit
  -m MONITORS_PATH, --monitors_path MONITORS_PATH
                        path to save the monitors.conf file to, default: /home/emre/.config/hypr/monitors.conf
  -n NUM_WS, --num_ws NUM_WS
                        number of Workspaces in use, default: 10
  -v, --version         display version information