{"action":"closed","issue":{"url":"https://api.github.com/repos/i3/i3/issues/2373","repository_url":"https://api.github.com/repos/i3/i3","labels_url":"https://api.github.com/repos/i3/i3/issues/2373/labels{/name}","comments_url":"https://api.github.com/repos/i3/i3/issues/2373/comments","events_url":"https://api.github.com/repos/i3/i3/issues/2373/events","html_url":"https://github.com/i3/i3/issues/2373","id":159785359,"number":2373,"title":"KP_0 inside mode brackets does not work but outside it does.","user":{"login":"freed00m","id":9461698,"avatar_url":"https://avatars.githubusercontent.com/u/9461698?v=3","gravatar_id":"","url":"https://api.github.com/users/freed00m","html_url":"https://github.com/freed00m","followers_url":"https://api.github.com/users/freed00m/followers","following_url":"https://api.github.com/users/freed00m/following{/other_user}","gists_url":"https://api.github.com/users/freed00m/gists{/gist_id}","starred_url":"https://api.github.com/users/freed00m/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freed00m/subscriptions","organizations_url":"https://api.github.com/users/freed00m/orgs","repos_url":"https://api.github.com/users/freed00m/repos","events_url":"https://api.github.com/users/freed00m/events{/privacy}","received_events_url":"https://api.github.com/users/freed00m/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/i3/i3/labels/4.12","name":"4.12","color":"009800"},{"url":"https://api.github.com/repos/i3/i3/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2016-06-11T17:53:02Z","updated_at":"2016-09-12T11:54:33Z","closed_at":"2016-09-12T11:54:33Z","body":"Output of `i3 --moreversion 2>&- || i3 --version`:\r\n```\r\nBinary i3 version:  4.12-82-gaf1ab57 (2016-05-11, branch \"gaps-next\") © 2009 Michael Stapelberg and contributors\r\nRunning i3 version: 4.12-82-gaf1ab57 (2016-05-11, branch \"gaps-next\") (pid 686)\r\nLoaded i3 config: /home/frdm/.i3/config (Last modified: Sat 11 Jun 2016 19:27:44 CEST, 619 seconds ago)\r\n\r\nThe i3 binary you just called: /usr/bin/i3\r\nThe i3 binary you are running: i3\r\n```\r\n\r\nURL to a logfile as per http://i3wm.org/docs/debugging.html:\r\n\r\n[http://logs.i3wm.org/logs/5634208160546816.bz2](url)\r\n\r\n\r\n**What I did:**\r\n\r\nTried to set xrandr option inside mode block brackets{ } and then running my long command  that works outside the brackets\r\n\r\n```\r\nbindsym XF86Display mode \"$display_options\"\r\nset $display_options Choose xrandr output \r\nmode \"$display_options\" {\r\n #   Here it will not work and XRANRD will fail to set primary hdmi-0 and the nitrogen wont run either\r\n bindsym KP_0 exec --no-startup-id xrandr --output HDMI-0 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output VGA-0 --off --output LVDS --off , mode \"default\", exec --no-startup-id nitrogen --restore\r\n}\r\n\r\n\r\n# But outside block will succeed with no problem\r\nbindsym $mod+KP_0 exec --no-startup-id xrandr --output HDMI-0 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output VGA-0 --off --output LVDS --off , mode \"default\", exec --no-startup-id nitrogen --restore\r\n```\r\n\r\n\r\n**What I saw:**\r\n\r\nxrandr didn't passed all the parameters and didn't finish executing the whole line\r\n\r\n**What I expected instead:**\r\n\r\nexecution inside the brackets { } to work exactly the same as outside the brackets"}}
{"actor":{"display_login":"stapelberg"}}