Skip to content
/ chrandr Public

Graphical command launcher for screen configuration

License

Notifications You must be signed in to change notification settings

riskou/chrandr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chrandr

Graphical command launcher for screen configuration.

screenshot

Features

  • Display a list of configurations (HDMI and laptop, only laptop, ...).
  • Only availables options are displayed, depending on connected screens.
  • When an option is selected, configured shell commands are executed.

Dependencies

  • Python 3
  • GTK 3 (3.12 or more)
  • xrandr shell command
  • gi python module (gobject introspection or python3-gi)
  • Optionnaly xdg python module

Installation

  • Clone repository and install chrandr :
  $ git clone git@github.com:riskou/chrandr.git
  $ cd chrandr/
  $ python3 setup.py install
  • Execute chrandr.
  • Modify the created configuration file : see Configuration.

Documentation

Configuration

Sorry no configuration gui, you have to edit the configuration file manually.

Default configuration filename is $XDG_CONFIG_HOME/chrandr/chrandr.conf (i.e. ~/.config/chrandr/chrandr.conf). You could use another one with chrandr --config <filename>.

An example is available in docs/chrandr.conf.

License

chrandr is licensed under the MIT license.

About

Graphical command launcher for screen configuration

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages