Created
February 11, 2012 23:15
-
-
Save gammy/1804957 to your computer and use it in GitHub Desktop.
pekwm submenu with xrandr two-screen configuration options
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submenu = "Desktop" { | |
Entry = "Detect & enable screens" { Actions = "Exec xrandr --auto &" } | |
Entry = "HDMI left of laptop" { Actions = "Exec xrandr --auto --output HDMI1 --right-of LVDS1 --output LVDS1 &" } | |
Entry = "HDMI right of laptop" { Actions = "Exec xrandr --auto --output HDMI1 --left-of LVDS1 --output LVDS1 &" } | |
Entry = "HDMI above laptop" { Actions = "Exec xrandr --auto --output HDMI1 --above LVDS1 --output LVDS1 &" } | |
Entry = "HDMI below laptop" { Actions = "Exec xrandr --auto --output HDMI1 --below LVDS1 --output LVDS1 &" } | |
Entry = "Disable HDMI" { Actions = "Exec xrandr --output LVDS1 --output HDMI1 --off &" } | |
Entry = "Disable laptop" { Actions = "Exec xrandr --output HDMI --output LVDS1 --off &" } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment