An easy to use TUI for managing your monitors' resolutions in Hyprland
To install, clone the repo using git and build it with go.
make sure to grab the dependencies
go mod tidy && go get
then
go build -o ./bin/ ./cmd/* && cd ./bin/ && mv ./* ~/.local/bin
Upon running the program once, a default display.conf file will be generated in the ~/.config/hypr/ directory.
Remove any lines declaring monitors from your hyprland.conf file OR override the autogenerated ones found in the displays.conf file with the old ones.
Finally source the displays.conf file in your hyprland.conf file with the following line.
source = $HOME/.config/hypr/displays.conf
Move up and down with k and j.
Select with enter.
Quit with q.
The tool comes with an integrated cli which can be accessed by running hyprandr -cmd.
The commands for it are the following:
-list, used to list all avaliable resolutions
-monitor, used to specify the monitor to be affected
-refresh, used to refresh the list of avaliable resolutions for change-res
-change-res, used to select a resolution from the list of resolutions
-set-res, used to manually specify a resolution to change to in the format "1920x1080@60"