Skip to content

Bash script to control (switch) multiply displays to make it similiar to Windows like

License

Notifications You must be signed in to change notification settings

RomanistHere/displays-control-linux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Example configuration

Script that switches 1 and 2 displays in linux based on the current state (toggles). Also disables notifications while it 2-displays state. More information and examples could be find at https://linuxconfig.org/how-to-configure-your-monitors-with-xrandr-in-linux

Example of how xrandr output can look like: image

How to use

Save .sh script to your directory and use bash /path/to/where/you/saved/displays.sh in terminal in order to execute it or ./path/to/where/you/saved/displays.sh. Useful to bind to some keyboard combination.

About

Bash script to control (switch) multiply displays to make it similiar to Windows like

Topics

Resources

License

Stars

Watchers

Forks

Languages