Skip to content

MisconceivedSec/setcustomres

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Set Custom Resolutions (using xrandr)

This tool helps users set custom resolutions to monitors that aren't available by default (using xrandr).

NOTE: This script only works on X11

Example usage:

# This sets a custom resolution to HDMI-1
~$ setcustomres -w 1920 -h 1080 -o HDMI-1

# This sets a custom resolution to DP-1 and maps it to the right of VGA-1
~$ setcustomres -width 1366 -height 768 -output DP-1 -param "--right-of VGA-1"

# This sets a custom resolution to VGA-2 and makes it the primary screen
~$ setcustomres -w 1680 -h 1050 -o VGA-2 -p "--primary"

# This sets a custom resolution to HDMI-1 with a refresh rate of 120Hz
~$ setcustomres -w 1600 -h 900 -o HDMI-1 -r 120

# Update 'setcustomres'
~$ setcustomres -u /path/to/setcustomres

Installation:

# Clone github repository
git clone https://www.github.com/MisconceivedSec/setcustomres.git

# Install
cd setcustomres
sudo ./setup.sh install

# Uninstall
sudo ./setup.sh uninstall

On Arch based distros:

You may install setcustomres from the AUR:

# Using 'yay'
yay -S setcustomres

# Using 'pamac'
pamac install setcustomres

# Manually
git clone https://aur.archlinux.org/setcustomres.git
cd setcustomres
makepkg PKGBUILD

About

A tool that summarizes the process of setting a custom resolution to a monitor using xrandr.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages