Using for_window in shell script [closed]

asked 2013-11-03 08:20:56 +0000

notalex gravatar image

i3 version 4.6 (2013-08-07, branch "tags/4.6")

I am trying the following command in a shell script, but it is giving me an error:

$ i3 for_window [class="Gvim"] floating enable

=> [{"success":false,"parse_error":true,"error":"Expected one of these tokens: <end>, '[', 'move', 'exec', 'exit', 'restart', 'reload', 'shmlog', 'debuglog', 'border', 'layout', 'append_layout', 'workspace', 'focus', 'kill', 'open', 'fullscreen', 'split', 'floating', 'mark', 'unmark', 'resize', 'rename', 'nop', 'scratchpad', 'mode', 'bar'","input":"for_window [class=Gvim] floating enable","errorposition":"^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"}]"]'"}]

Please help me find out what is wrong here.

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by Michael
close date 2013-11-03 10:06:11.844508

Comments