{"action":"opened","issue":{"url":"https://api.github.com/repos/i3/i3/issues/2341","repository_url":"https://api.github.com/repos/i3/i3","labels_url":"https://api.github.com/repos/i3/i3/issues/2341/labels{/name}","comments_url":"https://api.github.com/repos/i3/i3/issues/2341/comments","events_url":"https://api.github.com/repos/i3/i3/issues/2341/events","html_url":"https://github.com/i3/i3/issues/2341","id":153248895,"number":2341,"title":"Recognizing external monitor","user":{"login":"fourblank","id":12458705,"avatar_url":"https://avatars.githubusercontent.com/u/12458705?v=3","gravatar_id":"","url":"https://api.github.com/users/fourblank","html_url":"https://github.com/fourblank","followers_url":"https://api.github.com/users/fourblank/followers","following_url":"https://api.github.com/users/fourblank/following{/other_user}","gists_url":"https://api.github.com/users/fourblank/gists{/gist_id}","starred_url":"https://api.github.com/users/fourblank/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fourblank/subscriptions","organizations_url":"https://api.github.com/users/fourblank/orgs","repos_url":"https://api.github.com/users/fourblank/repos","events_url":"https://api.github.com/users/fourblank/events{/privacy}","received_events_url":"https://api.github.com/users/fourblank/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-05T14:52:57Z","updated_at":"2016-05-05T14:52:57Z","closed_at":null,"body":"Output of `--moreversion 2>&- || i3 --version`: \r\n\r\n\r\nBinary i3 version:  4.11 (2015-09-30, branch \"4.11\") © 2009 Michael Stapelberg and contributors\r\nRunning i3 version: 4.11 (2015-09-30, branch \"4.11\") (pid 24814)\r\nLoaded i3 config: /home/fourblank/.config/i3/config (Last modified: Fri 06 May 2016 00:39:11 AEST, 274 seconds ago)\r\nThe i3 binary you just called: /usr/bin/i3\r\nThe i3 binary you are running: i3\r\n\r\n\r\nI'm currently binding keys for xrandr to switch between my external monitor and laptop. Is there a more efficient way of doing this? eg: auto-detecting HDMI cable and switching resolutions + primary screen?\r\nAdditionally, the login screen for i3 is always on my laptop, even with HDMI attached.\r\n\r\nWhat I have in my config file now is: \r\n\r\n> exec xrandr --output HDMI1 --primary --mode 2560x1080 --pos 0x0 --rotate normal --output VIRTUAL1 --off --output eDP1 --off                                                                                                                                                                \r\nbindsym $mod+Shift+M exec xrandr --output HDMI1 --off --output VIRTUAL1 --off --output eDP1 --primary --mode 1366x768 --pos 272x1536 --rotate normal                                                                                                                                       \r\nbindsym $mod+Shift+Ctrl+M exec xrandr --output HDMI1 --primary --mode 2560x1080 --pos 0x0 --rotate normal --output VIRTUAL1 --off --output eDP1 --off \r\n\r\nI've tried looking for solutions and [#2326](https://github.com/i3/i3/issues/2326) is the closest but it doesn't seem to help my problem. Apologies if I'm missing something. \r\nCheers"}}